Files
2025-05-13 03:19:28 +03:00

16 lines
379 B
C#

using UnityEngine;
using System.Collections;
public enum GearboxControlType{
Manual,
Automatic
}
public abstract class Gearbox : MonoBehaviour {
public abstract GearboxControlType ControlType{ get;}
public abstract float MaxOutputTorque{ get;}
public abstract int GearsCount{ get;}
public abstract float GetGearRatio(int gear);
public abstract int Gear{ get; set;}
}