public VirtualInputChannel(UnKeyCode key, UnKeyCode negKey, float buttonToAxisValue = 1) { type = VirtualInputChannelType.Key; this.key = key; this.negKey = negKey; this.buttonToAxisValue = buttonToAxisValue; }
public VirtualInputChannel(string name, string negName, float buttonToAxisValue = 1) { type = VirtualInputChannelType.Button; this.name = name; this.negName = negName; this.buttonToAxisValue = buttonToAxisValue; }