public void StartTutorial() { Player.SetActive(true); gameStage = GeoStage.Tutorial; TutorialControl.instance.gameObject.SetActive(true); //MicroPhoneInput.instance.StartRecording (); //enable microphone after game start }
//function for starting the game, do prepare and instantiate public void StartGame() { gameStage = GeoStage.InGame; ObjectiveWindow.SetActive(true); TimeCount.SetActive(true); WaveGenerator.instance.canSendWave = true; }
/* * public void CloseLoadingScreen(){ * LoadingScreen.GetComponent<UIFadeInOut> ().FadeOut (); * } */ public void StartIntro() { BGMCtrl.instance.PlayBGM(); gameStage = GeoStage.Intro; GeologistUICtrl.instance.StartIntro(); totalLayerCount = LayerColorMask.instance.GetLayerCount(); }
void Awake() { instance = this; horRespownPos = RightBound.position.x - LeftBound.position.x; waves = new GameObject("waves").transform; gameStage = GeoStage.Prepare; remainTime = totalTime; Player.SetActive(false); revealedLayerCount = 0; //LoadingScreen.SetActive (true); }