Example #1
0
 void OnDisable()
 {
     MainRoot.GetController().MainBus().StopListening("StartGame", StartGame);
 }
Example #2
0
 void OnEnable()
 {
     BuildControllerProcess();
     MainRoot.GetController().MainBus().StartListening("StartGame", StartGame);
 }