Esempio n. 1
0
 private void ActionbarControllerOnGlobalCooldownEvent(object sender, GlobalCooldownEventArgs e)
 {
     foreach (var button in _actionbarButtons)
     {
         if (button.Value.ButtonModel.ActionToExecute.IgnoreGlobalCooldown)
         {
             continue;
         }
         StartCoroutine(button.Value.DoCooldownIteration(e.Duration));
     }
 }
Esempio n. 2
0
 public void OnGlobalCooldownInitiate(object sender, GlobalCooldownEventArgs args)
 {
     _root.Q <VisualElement>("Actionbar").Children().ToList().ForEach(v => CoolDownAnimation(v, args.Duration));
 }