private void Awake() { environmentSpawnerScript = this.gameObject.GetComponent<LevelEnvironmentSpawner>(); slideSpawnScript = this.gameObject.GetComponent<SlideSpawner>(); levelSegSelect = this.gameObject.GetComponent<LevelSegmentSelection>(); tutorialScript = this.gameObject.GetComponent<Tutorial>(); //LoadTextAssets for ObjectSegments LoadTextAssets(); MakeInstance(); }
private void Awake() { slideSpawnScript = this.gameObject.GetComponent<SlideSpawner>(); objectSpawnerScript = GameObject.Find("ObjectSpawner").GetComponent<LevelObjectSpawner>(); }