public void UpdateDashable() { if (m_CurrentDashState != DashState.Ready) { return; } OnDash.Invoke(this); }
void FireEvent() { Interactable i = Interaction(); if (i != null) { InteractEvent?.Invoke(i); } else if (can_input) { DashEvent?.Invoke(); } }