예제 #1
0
 public ActionCombination GetBinding(string key, InputContext context)
 => GetInputMethod(context)?.GetCombination(key);
예제 #2
0
 public bool GetInputUp(string key, InputContext context)
 => GetInputMethod(context)?.GetInputUp(key) ?? false;
예제 #3
0
 public void ChangeAllKeyBindings(List <InputCombination> keys, InputContext context)
 => GetInputMethod(context)?.SetAllBindings(keys);
예제 #4
0
 public float GetInput(string key, InputContext context)
 => GetInputMethod(context)?.GetInput(key) ?? 0f;
예제 #5
0
 public void ChangeKeyBinding(string key, InputCombination newVal, InputContext context)
 => GetInputMethod(context)?.SetBinding(key, newVal);