private void Update() { if (Input.GetMouseButtonDown(0) && _attackEvent.IsEventReady()) { _attackEvent.TriggerEvent(this); _attackEvent.OnEventComplete(OnAttackComplete); } }
private void Update() { if (Input.GetMouseButtonDown(0) && _attackEvent.IsEventReady()) { _attackEvent.TriggerEvent(this); _attackEvent.OnEventComplete(OnAttackComplete); } }