fix bugs
This commit is contained in:
parent
eb0d304637
commit
2435794ad2
Binary file not shown.
Binary file not shown.
@ -177,7 +177,7 @@ public class PlayerManager : Singleton<PlayerManager>
|
|||||||
|
|
||||||
KeyCode.JoystickButton8,
|
KeyCode.JoystickButton8,
|
||||||
KeyCode.JoystickButton10,
|
KeyCode.JoystickButton10,
|
||||||
KeyCode.JoystickButton1,
|
KeyCode.JoystickButton11,
|
||||||
KeyCode.JoystickButton9,
|
KeyCode.JoystickButton9,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -234,14 +234,10 @@ public class PlayerManager : Singleton<PlayerManager>
|
|||||||
case KeyCode.JoystickButton8:
|
case KeyCode.JoystickButton8:
|
||||||
GameManager.Instance.EventManager.OnMoveInput?.Invoke(EDirectionType.UP);
|
GameManager.Instance.EventManager.OnMoveInput?.Invoke(EDirectionType.UP);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
case KeyCode.DownArrow:
|
case KeyCode.DownArrow:
|
||||||
case KeyCode.JoystickButton10:
|
case KeyCode.JoystickButton10:
|
||||||
GameManager.Instance.EventManager.OnMoveInput?.Invoke(EDirectionType.DOWN);
|
GameManager.Instance.EventManager.OnMoveInput?.Invoke(EDirectionType.DOWN);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
case KeyCode.LeftArrow:
|
case KeyCode.LeftArrow:
|
||||||
case KeyCode.JoystickButton11:
|
case KeyCode.JoystickButton11:
|
||||||
GameManager.Instance.EventManager.OnMoveInput?.Invoke(EDirectionType.LEFT);
|
GameManager.Instance.EventManager.OnMoveInput?.Invoke(EDirectionType.LEFT);
|
||||||
|
Loading…
Reference in New Issue
Block a user