Example #1
0
 // Update is called once per frame
 void TestUDP()
 {
     UDPNet.Init("127.0.0.1", 20236);
     UDPNet.ShowMsgLog(isShowDebug);
     //UDPNet.SetOutputDelgate(OutputEvent);
     UDPNet.Connect();
 }
Example #2
0
 override protected void OnDestroy()
 {
     sInstance = null;
     base.OnDestroy();
 }
Example #3
0
 void UpdateUDP()
 {
     UDPNet.SendObject(tetstdata);
 }