void Awake() { if (S_PowerControl == null) { S_PowerControl = this; } else { Destroy(gameObject); } }
void Start() { theStationManager = StationManagerTutorial.S_StationManager; theScoreManager = ScoreManagerTutorial.S_ScoreManager; thePowerControl = PowerControlTutorial.S_PowerControl; theUIManager = UIManagerTutorial.S_UIManager; thePowerControl.TogglePowerLock(true); theStationManager.StationUpdate(); thePowerControl.SetSpeedLimit(initialSpeedLimit); StartGameSection(); }
void Start() { if (tutorial) { theGameMasterTutorial = GameMasterTutorial.S_GameMaster; theScoreManagerTutorial = ScoreManagerTutorial.S_ScoreManager; thePowerControlTutorial = PowerControlTutorial.S_PowerControl; } else if (!tutorial) { theGameMaster = GameMaster.S_GameMaster; theScoreManager = ScoreManager.S_ScoreManager; thePowerControl = PowerControl.S_PowerControl; } }
void Start() { thePowerControl = PowerControlTutorial.S_PowerControl; boogieSplineWalker = GetComponent <Boogie_Spline_Walker>(); }
void Start() { theGameMaster = GameMasterTutorial.S_GameMaster; theStationManager = StationManagerTutorial.S_StationManager; thePowerControl = PowerControlTutorial.S_PowerControl; }
void Start() { theGameMaster = GameMasterTutorial.S_GameMaster; thePowerControl = PowerControlTutorial.S_PowerControl; theUIManager = UIManagerTutorial.S_UIManager; }