コード例 #1
0
 void StartMission()
 {
     if (CanPlay)
     {
         HighLowGame.GetInstance().StartMission(MissionIndex);
     }
     else
     {
         // put up message
         Debug.Log("can't afford this mission");
     }
 }
コード例 #2
0
ファイル: HighLowGame.cs プロジェクト: harko12/HighOrLow
 private void Awake()
 {
     eventManager = GameReferences.instance.gameEvents;
     mInstance    = this;
 }