public override void SetUpReferences() { base.SetUpReferences(); spawner = GetComponent <GameSpawner>(); progression = GetComponent <GameProgression>(); pooler = GetComponent <GamePooler>(); sounds = GetComponent <GameSounds>(); }
public override void Initialise() { seed = Random.Range(0, 99999); base.Initialise(); instance = this; progressionTimer = 0; progressUI.SetLevelProgress(0); SetGameLevelStartEffect(progressUI.SetLevel(currentLevel - 1)); gameSpeed = Mathf.Clamp(currentLevel, 0, 5); }