Example #1
0
 public void MoveByWASD(float speed) => MyInput.WASD(
     () => transform.position += transform.forward * speed,
     () => transform.position += -transform.right * speed,
     () => transform.position += -transform.forward * speed,
     () => transform.position += transform.right * speed);