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