Exemplo n.º 1
0
 void StartMission()
 {
     if (CanPlay)
     {
         HighLowGame.GetInstance().StartMission(MissionIndex);
     }
     else
     {
         // put up message
         Debug.Log("can't afford this mission");
     }
 }
Exemplo n.º 2
0
 private void Awake()
 {
     eventManager = GameReferences.instance.gameEvents;
     mInstance    = this;
 }