Добавляю машины и настраиваю их
This commit is contained in:
1 parent
1c106ea853
commit
a8238ab49e
363 files changed
+54820
-687
No files matched your search
@@ -0,0 +1,10 @@
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(fileName = "NewCarPart", menuName = "Car System/Part Data")]
|
||||
public class CarPartData : ScriptableObject
|
||||
{
|
||||
[Header("Данные детали")]
|
||||
public string partName = "Передний бампер";
|
||||
public float basePrice = 150f;
|
||||
[Range(0, 100)] public float condition = 100f; // Состояние детали для оценки авто
|
||||
}
|
||||
Reference in new issue
Block a user