Exemple #1
0
 void OnInitGame(GameData.types type)
 {
     print("OnInitGame " + type);
     progressBar.Init(type);
     uiScoreManager.Init(type);
     gameOver.Reset();
 }
Exemple #2
0
 Game GetGameByType(GameData.types type)
 {
     foreach (GamesData gData in games)
     {
         if (gData.gameData.type == type)
         {
             return(gData.game);
         }
     }
     return(null);
 }
Exemple #3
0
 void OnInitGame(GameData.types type)
 {
     game = GetGameByType(type);
     game.gameObject.SetActive(true);
     game.Init(this);
     faceBasicDetections.Init();
     if (state == states.HEAD_ON)
     {
         game.OnUserStatus(true);
     }
 }
Exemple #4
0
 public void Init(GameData.types type)
 {
 }