void Start() { theSelectedScenario = SelectedScenario.S_SelectedScenarioScript; theGameMaster = GameMaster.S_GameMaster; thePowerControl = PowerControl.S_PowerControl; theUIManager = UIManager.S_UIManager; }
void Start() { UpdatePlayerCredit(); selectedScenarioScript = SelectedScenario.S_SelectedScenarioScript; availableScenario = GetComponent <AvailableScenario>(); CreateScenarioButton(); }
void Awake() { if (S_SelectedScenarioScript != null) { Destroy(S_SelectedScenarioScript.gameObject); } S_SelectedScenarioScript = this; DontDestroyOnLoad(this); }
void Start() { theSelectedScenario = SelectedScenario.S_SelectedScenarioScript; theStationManager = StationManager.S_StationManager; theScoreManager = ScoreManager.S_ScoreManager; thePowerControl = PowerControl.S_PowerControl; theUIManager = UIManager.S_UIManager; thePowerControl.TogglePowerLock(true); theStationManager.StationUpdate(); thePowerControl.SetSpeedLimit(initialSpeedLimit); StartGameSection(); }