void Start() { DontDestroyOnLoad(gameObject); loggingIn = false; connected = false; loggedIn = false; gameStarted = false; rooms = new Rooms(); socks = (Sockets)gameObject.AddComponent("Sockets"); socks.SERVER_LOCATION = PlayerPrefs.GetString("IP"); // uniClock = new System.Diagnostics.Stopwatch(); // dt = NTPTime.getNTPTime(ref uniClock); }
public void setStuff(NetworkStream nwsIn, Sockets inSocket) { nws = nwsIn; socks = inSocket; }
public ThreadSock(NetworkStream nwsIn, Sockets inSocket) { nws = nwsIn; socks = inSocket; }