예제 #1
0
 Vector2 IInputService.GetLeftStick()
 {
     return(new Vector2(
                KeyboundInput.MoveHorizontal(),
                KeyboundInput.MoveVertical()
                ));
 }
예제 #2
0
 Vector2 IInputService.GetRightStick()
 {
     return(new Vector2(
                KeyboundInput.LookHorizontal(),
                KeyboundInput.LookVertical()
                ));
 }
예제 #3
0
 public bool GetControlIsDown(InputControlType action)
 {
     return(Input.GetKey(KeyboundInput.GetControl(action)));
 }