示例#1
0
 public void CancelFeverAim()
 {
     reticlePosition.gameObject.SetActive(false);
     if(attackController != null)
         attackController.EndAttack();
     StopCoroutine();
     feverUpdate = false;
 }
示例#2
0
 private IEnumerator LeverCoroutine(PlayerCharacter c)
 {
     attackController.StartAnimation();
     while(anim == true)
     {
         yield return null;
     }
     while (!Input.GetButtonDown(control.buttonA))
     {
         yield return null;
     }
     attackController.EndAttack();
     textPanel.gameObject.SetActive(false);
     c.CharacterMovement.SetInput(true);
     leverEvent.Invoke();
 }