void UpdateTCP() { if (TCPNet.IsConnect()) { TCPNet.SendObject(tetstdata); } }
void TestTCP() { TCPNet.Init("127.0.0.1", 20240); TCPNet.ShowMsgLog(isShowDebug); //TCPNet.SetOutputDelgate(OutputEvent); TCPNet.Connect(); }
override protected void OnDestroy() { sInstance = null; base.OnDestroy(); }