public void Sync() { netvrkStream stream = netView.GetStream(); stream.Write(467); netView.WriteSyncStream(stream, netvrkSendMethod.Unreliable); }
public void OnNetvrkReadSyncStream(netvrkStream stream) { Debug.Log(stream.Read(typeof(int))); }