// Update is called once per frame void Update() { if (Owner != null) { foreach (var AbilityButton in m_AbilityButtonMapping) { m_ActionButtons[AbilityButton.Key].enabled = !Owner.IsOnCooldown(AbilityButton.Value.GetType()); } } }
// Update is called once per frame void Update() { if (Owner != null) { foreach (var AbilityButton in m_AbilityButtonMapping) { m_ActionButtons[AbilityButton.Key].enabled = !Owner.IsOnCooldown(AbilityButton.Value.GetType()); } } }