Пример #1
0
 void OnInitGame(GameData.types type)
 {
     print("OnInitGame " + type);
     progressBar.Init(type);
     uiScoreManager.Init(type);
     gameOver.Reset();
 }
Пример #2
0
 Game GetGameByType(GameData.types type)
 {
     foreach (GamesData gData in games)
     {
         if (gData.gameData.type == type)
         {
             return(gData.game);
         }
     }
     return(null);
 }
Пример #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);
     }
 }
Пример #4
0
 public void Init(GameData.types type)
 {
 }