示例#1
0
        private void EndAttack()
        {
            m_currentRunTime = 0;
            m_isAttackActive = false;

            Debug.Log($"Attack Ended: {name}");

            OnAttackEnded?.Invoke(playerAttackEnum, attackAnimTrigger);
        }
示例#2
0
 //call from animation event
 private void AttackEndedHandler()
 {
     AttackEnded?.Invoke(this, EventArgs.Empty);
 }