Beispiel #1
0
    public Vector2 ReturnInputMovementVector(InputInfo input)
    {
        float xAxisRaw = input.ReturnCurrentAxis("HorizontalAxis").axisValue;
        float yAxisRaw = input.ReturnCurrentAxis("VerticalAxis").axisValue;

        return(new Vector2(xAxisRaw, 0));
    }