You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Driftology/Assets/Scripts/CarStats.cs

13 lines
378 B
C#

using UnityEngine;
[CreateAssetMenu(fileName = "CarStats", menuName = "Game/Car Stats", order = 1)]
public class CarStats : ScriptableObject
{
public float maxSpeed = 200f;
public float baseAcceleration = 10f;
public float steeringSensitivity = 20f;
public float downforce = 50f;
public float brakeThreshold = 15f;
public float steeringFactor = 0.8f;
}