예제 #1
0
    private void Update()
    {
        Vector2 rJoystickInput = new Vector2(Input.GetAxis(_playerControllerPrefix + "R_Horizontal"), Input.GetAxis(_playerControllerPrefix + "R_Vertical"));

        if (_miniGame == null)
        {
            _interactionHandler.Input = rJoystickInput;
        }
        else
        {
            _miniGame.PlayerInput(_miniGamePlayerIndex, rJoystickInput);
        }
    }