SlothController.DeactivateControls C# (CSharp) 메소드

DeactivateControls() 공개 메소드

public DeactivateControls ( ) : void
리턴 void
    public void DeactivateControls() {
        _controlsDisabled = true;
        _rigidBody.isKinematic = true;
        _animator.SetBool("TurnLeft", false); //Set Animation value
        _animator.SetBool("TurnRight", false); //Set Animation value
        _animator.SetBool("MoveLeft", false); //Set Animation value
        _animator.SetBool("MoveRight", false); //Set Animation value
        _animator.SetBool("Kill", true); 
    }