Beispiel #1
0
        private void OnPlayerHasLanded(Vector2 landingVelocity)
        {
            if (FallingDamageAndCheckDeath(Mathf.Abs(landingVelocity.y)))
            {
                Death();
            }

            _states.SetLandedState();
            _animator.SetStates(_states);
            _playerPanel.PresentHealth(_health);
        }