// Use this for initialization void Start() { death = GameObject.FindGameObjectWithTag("Player").GetComponent <BallOffTerrain>(); }
void Awake() { nextLevel = GameObject.FindGameObjectWithTag("Player").GetComponent <BallOffTerrain>(); // Gets the BallOffTerrain script from the Player }