//socket dispatch thread function public void SocketThread() { while (NetCore.bConnected) { //Debug.Log("test"); NetCore.Dispatch(); Thread.Sleep(5); } Debug.Log("socket thread exit"); }
private void FixedUpdate() { NetCore.Dispatch(); }
// Update is called once per frame void Update() { NetCore.Dispatch(); }
override public void Update() { NetCore.Dispatch(); }
public void Dispatch() { NetCore.Dispatch(); }