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