private void OnGameEnd(DeathSignal obj) { ongoing = false; if (groundAnimation) { groundAnimation.speed = 0; } }
private void OnDeath(DeathSignal arg) { if (State == LoopState.InGame) { State = LoopState.PostGame; if (LeaderboardService.TryAdd(new LeaderboardEntry(Score))) { SignalMachine.Call(new NewLeaderboardScoreSignal()); Debug.Log("On leaderboard"); } } }
private void OnDeath(DeathSignal obj) { StartCoroutine(ShowWithDelay(1f)); }
private void OnDeath(DeathSignal arg) { SetMode(MovementMode.Death); }