void Menu() { GameLevelParameter.RestartVar(); GameControl.control.UnPause(); // initiate the game Debug.Log("Menu"); LevelManager.lm.LoadLevel("Menu"); }
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 }
void RestartGame() { GameLevelParameter.RestartVar(); GameControl.control.UnPause(); // initiate the game LevelManager.lm.LoadLevel("Game"); }