public void setup() { InputService = Substitute.For <IInputService>(); actions = new ActionMap(); actions.actions = new InputAction[] { new InputAction { action = Action.Jump, inputControlType = InControl.InputControlType.Action1 } }; manager = new KeyboardGameplayInputManager(ref actions); manager.InputService = InputService; }
protected new void Awake() { base.Awake(); Manager = new KeyboardGameplayInputManager(ref actionMap); }
public void TearDown() { manager = null; actions = null; InputService = null; }