/// <summary> /// Let character move and act again. /// </summary> private void UnLock(bool movement, bool actions) { StartCoroutine(_ResetIdleTimer()); if (movement) { rpgCharacterMovementController.UnlockMovement(); } if (actions) { canAction = true; if (headLook) { isHeadlook = true; } } }
/// <summary> /// Let character move and act again. /// </summary> void UnLock(bool movement, bool actions) { if (movement) { rpgCharacterMovementController.UnlockMovement(); } if (actions) { canAction = true; } }