// If start button of Start menu was clicked public void OnStartButtonClicked() { GameController.SetStartCondition(); FindObjectOfType <GameController>().InstantiateHero(ScrollContentView.currentCentralObj); panels.HideStartMenu(); panels.ShowGUI(); playMusic.PlaySelectedMusic(1); }