// Update is called once per frame void Update() { if (b.getDead()) { CancelInvoke("spawnPlatforms"); } }
// Update is called once per frame void Update() { if (ball.getDead() == true && !played) { nope.Play(); played = true; } }
// Update is called once per frame void Update() { if (b.getDead()) { CancelInvoke("spawnPlatforms"); } }
// Update is called once per frame void Update() { if (ball.getDead() == true && !played) { nope.Play(); played = true; } }