Driftology/Assets/Scripts/CarStats.cs

13 lines
378 B
C#
Raw Normal View History

2025-06-30 16:51:24 +05:00
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;
}