using UnityEngine; namespace SRL { public struct InputData { public bool Accelerate; public bool Brake; public float TurnInput; } public interface IInput { InputData GenerateInput(); } public abstract class BaseInput : MonoBehaviour, IInput { /// /// Override this function to generate an XY input that can be used to steer and control the car. /// public abstract InputData GenerateInput(); } }