/// <summary>
 /// Stops the car
 /// </summary>
 protected virtual void TurnStop()
 {
     DriveFeedback?.StopFeedbacks();
     StopFeedback?.PlayFeedbacks();
     SetCar(false);
     _turning = false;
 }
Example #2
0
 public void IdleTalk() //Idle talk sound event
 {
     if (!Idletalk.IsPlaying)
     {
         Cemewholo.StopFeedbacks();
         Idletalk.PlayFeedbacks();
     }
 }
Example #3
0
 public void CemeWholo() //CemewholoCemewholoCemewholoCemewholoCemewholo
 {
     if (!Cemewholo.IsPlaying)
     {
         Idletalk.StopFeedbacks();
         Cemewholo.PlayFeedbacks();
     }
 }
 /// <summary>
 /// Stops the dash
 /// </summary>
 protected virtual void DashStop()
 {
     Cooldown.Stop();
     _movement.ChangeState(CharacterStates.MovementStates.Idle);
     _dashing = false;
     _controller.FreeMovement = true;
     DashFeedback?.StopFeedbacks();
     StopStartFeedbacks();
     PlayAbilityStopFeedbacks();
 }
Example #5
0
        /// <summary>
        /// Stops the dash
        /// </summary>
        protected virtual void DashStop()
        {
            DashFeedback?.StopFeedbacks(this.transform.position);

            StopStartFeedbacks();
            PlayAbilityStopFeedbacks();

            _movement.ChangeState(CharacterStates.MovementStates.Idle);
            _dashing = false;
            _controller.FreeMovement = true;
        }
Example #6
0
 /// <summary>
 /// Stops the ability used sound effect
 /// </summary>
 public virtual void StopStartFeedbacks()
 {
     AbilityStartFeedbacks?.StopFeedbacks();
     _startFeedbackIsPlaying = false;
 }
Example #7
0
 /// <summary>
 /// Stops the wheel from turning
 /// </summary>
 protected virtual void TurnStop()
 {
     TurnFeedback?.StopFeedbacks();
     TurnStopFeedback?.PlayFeedbacks();
     _turning = false;
 }