public override InputAction GetAction(InputActionDef def) { int index = actionToIndex[def]; return(actions[index].action); }
public InputAction GetAction(InputSource source, string name) { InputActionDef def = GetActionDef(name); return(def == null ? new InputAction() : source.GetAction(def)); }
public abstract InputAction GetAction(InputActionDef def);
public InputAction GetAction(InputSource source, InputActionField field) { InputActionDef def = GetActionDef(field.name); return(def == null ? new InputAction() : source.GetAction(def)); }