public static void RebindAxis(string _name, KeyCode _positive, KeyCode _negative) { BindingAxis axis = GetBindingAxis(_name); if (axis != null) { axis.Rebind(_positive, _negative); } }
public static float BindingAxis(string _name) { BindingAxis axis = GetBindingAxis(_name); if (axis != null) { return(axis.Axis()); } return(0); }