void Awake() { if (S_GameMaster == null) S_GameMaster = this; else Destroy(gameObject); }
void Start() { theGameMaster = GameMasterTutorial.S_GameMaster; theScoreManager = ScoreManagerTutorial.S_ScoreManager; theStationManager = StationManagerTutorial.S_StationManager; theUIManager = UIManagerTutorial.S_UIManager; loopBounds = Vector3.forward * loopRange; }
void Start() { if (!tutorial) { theGameMaster = GameMaster.S_GameMaster; } else if (tutorial) { theGameMasterTutorial = GameMasterTutorial.S_GameMaster; } stationConstraint.thisStationScene = this; }
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() { 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; }