private void EndAttack() { m_currentRunTime = 0; m_isAttackActive = false; Debug.Log($"Attack Ended: {name}"); OnAttackEnded?.Invoke(playerAttackEnum, attackAnimTrigger); }
//call from animation event private void AttackEndedHandler() { AttackEnded?.Invoke(this, EventArgs.Empty); }