private void OnKeybindChanged(object sender, SetActionButtonKeybindLabelArgs e)
 {
     if (_actionbarIndexes.TryGetValue(e.ActionIndex, out var element))
     {
         element.Q <Label>("hotbarKeyBindLabel").text = e.NewKeybind;
     }
 }
Exemple #2
0
 private void ActionbarControllerOnSetActionButtonKeybindLabelEvent(object sender, SetActionButtonKeybindLabelArgs e)
 {
     _actionbarButtons[e.ActionIndex].SetKeybindTextLabel = e.NewKeybind;
 }