Skip to content

Instantly share code, notes, and snippets.

View kpavlovsky's full-sized avatar
😀

Kostja P kpavlovsky

😀
  • Europe
View GitHub Profile
public start(url: string): void {
console.log("connecting to " + url);
let self = this;
this.url = url;
this.ws = Observable.webSocket(this.url);
this.socket = this.ws.subscribe({
using UnityEngine;
using System.Collections;
public class menuscript : MonoBehaviour {
public bool menuopen;
public float timeswitched=0f;
public float menufreeze = 0.5f;
public Rect windowRect = new Rect(100, 100, 80, 50);
// Use this for initialization
void Start () {