예제 #1
0
    private void ProvideInputDirection(bool leftSide)
    {
        Vector2 stickDirection = Vector2.zero;

        if (challengeStage != null)
        {
            stickDirection = (leftSide ? stickLeftDirection : stickRightDirection);
            challengeStage.ReactToInputDirection(-1, leftSide, stickDirection);
        }
    }