Example #1
0
 // Update is called once per frame
 void Update()
 {
     if (dd && ServerInitiated)
     {
         Ms = "dadayeh";
         PServer2.SendMessage(Ms, PServer2.clientse);
         dd = false;
     }
 }
Example #2
0
 void OnApplicationQuit()
 {
     Debug.Log("BYEBYE");
     PServer1.StopServer();
     PServer2.StopServer();
 }