public void Awake() { controls = new InputSys(); controls.Enable(); controls.Player.Move.started += ctx => Move(ctx); controls.Player.Move.started += ctx => Move(ctx); controls.Player.Move.performed += ctx => Move(ctx); controls.Player.Move.canceled += ctx => MoveEnd(); }
private void Awake() { controls = new InputSys(); controls.Enable(); controls.Player.Move.started += ctx => Move(ctx); controls.Player.Move.performed += ctx => Move(ctx); controls.Player.Move.canceled += ctx => MoveEnd(); controls.Player.Accelerate.started += ctx => Accel(ctx); controls.Player.Accelerate.performed += ctx => Accel(ctx); controls.Player.Accelerate.canceled += ctx => AccelEnd(); }
public void Awake() { controls = new InputSys(); controls.Enable(); controls.Player.Move.performed += ctx => Rotate(ctx); }