示例#1
0
 void Menu()
 {
     GameLevelParameter.RestartVar();
     GameControl.control.UnPause();          //  initiate the game
     Debug.Log("Menu");
     LevelManager.lm.LoadLevel("Menu");
 }
示例#2
0
 void Awake()
 {
     GameLevelParameter.RestartVar();
     coins.text = GameControl.control.playerMoney.ToString();
     gameSetupL = GameSetupLanguages.Instance();
     comboTex   = comboObj.GetComponentInChildren <Text> ();
     comboAni   = comboObj.GetComponent <Animator> ();
     comboObj.SetActive(false);
     tutorial1.SetActive(false);          // Deactivate tutotial
     tutorial2.SetActive(false);          // Deactivate tutotial
 }
示例#3
0
 void RestartGame()
 {
     GameLevelParameter.RestartVar();
     GameControl.control.UnPause();          //  initiate the game
     LevelManager.lm.LoadLevel("Game");
 }