using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;

public struct CameraRelativeInput
{
    private Vector2 _base;
    private float _cameraAngle;
    
    public void SetValue( Vector2 value )
    {
        _base = value;
    }
    
    public void SetAngle( float angle )
    {
        _cameraAngle = angle;
    }

    public Vector2 Value
        => Quaternion.Euler( 0f, 0f, _cameraAngle ) * _base;
}
