예제 #1
0
 private void Update()
 {
     if (!_died && _rigidbody.velocity.sqrMagnitude > 60)
     {
         _died = true;
         _cameraFollow.CanFollow(false);
         SoundManager.Instance.GameEnd();
         GameManager.Instance.ReloadGame();
     }
 }