Exemplo n.º 1
0
 private void AddActionsByTriggerAction(UIKeyBindButton button, Dictionary <int, int> map)
 {
     for (int i = 0; i < button.GetTriggerActions().Count; i++)
     {
         map.Add((int)button.GetTriggerActions()[i], (int)button.GetKeyCode());
     }
 }
Exemplo n.º 2
0
 public override void OnBindingChanged(UIKeyBindButton button)
 {
     foreach (UIKeyBindButton uikeyBindButton in this.m_KeyBindButtons)
     {
         if (!(uikeyBindButton == button) && button.GetKeyCode() == uikeyBindButton.GetKeyCode())
         {
             uikeyBindButton.StartBlinking();
             button.StartBlinking();
         }
     }
 }