/// <summary> /// Destroy ball when death timer finishes /// </summary> void HandleDeathTimerFinished() { // invoke event and destroy self ballDied.Invoke(); Destroy(gameObject); }
private void HandleDeathTimerFinished() { // spawn new ball and destroy self ballDied.Invoke(); Destroy(gameObject); }