// ctor For setting inspector defaults if nested in another inspector/property public AxisInputMethod(UnityInputMethod inputMethod, string axisName, KeyCode posKey, KeyCode negKey) { _inputMethod = inputMethod; _axisName = axisName; _positiveKey = posKey; _negativeKey = negKey; }
// ctor For setting inspector defaults if nested in another inspector/property public ButtonInputMethod(UnityInputMethod inputMethod, string axisName, KeyCode key) { _axisName = axisName; _key = key; _inputMethod = inputMethod; }