Exemple #1
0
 private void Start()
 {
     CommNet = new CommNet();
     CommNet.OnReceiveMessage += OnReceiveMessage;
     sigalManager              = new SigalManager();
     userInput.onButtonClick  += SendButtonMessage;
 }
Exemple #2
0
 private void OnDestroy()
 {
     if (CommNet != null)
     {
         CommNet.OnDestroy();
         CommNet = null;
     }
 }