private void Awake() { data.Reset(); spawner.setScript(Level); data.level = Level; hasEnded = false; PlayerDead = false; }