public void Trigger()
    {
        Vector2 move = new Vector2(
            Input.GetAxis(Constants.HORIZONTAL_AXIS),
            Input.GetAxis(Constants.VERTICAL_AXIS)
            );

        PlayerMoveEvent.TriggerEvent(move);
    }
Beispiel #2
0
 public void Trigger()
 {
     PlayerMoveEvent.TriggerEvent(new Vector2(1, 0));
 }