Track Unity source, scenes, editable assets, licenses, tools and QA evidence. Exclude generated caches, Windows builds and raw runtime logs.
24 lines
805 B
C#
24 lines
805 B
C#
using UnityEngine;
|
|
|
|
namespace Ironspore
|
|
{
|
|
[CreateAssetMenu(menuName = "Ironspore/Chassis")]
|
|
public sealed class ChassisDefinition : ScriptableObject
|
|
{
|
|
public string id;
|
|
public string displayName;
|
|
public string description;
|
|
public string LocalizedName => GameLocalization.Text("chassis." + id + ".name");
|
|
public string LocalizedDescription => GameLocalization.Text("chassis." + id + ".description");
|
|
public float speed = 6;
|
|
public float boostSpeed = 18;
|
|
public float boostDuration = .35f;
|
|
public float lift;
|
|
public float armor = 150;
|
|
public float massCapacity = 20;
|
|
public float powerCapacity = 18;
|
|
public Color accent = Color.cyan;
|
|
public Vector3 modelScale = Vector3.one;
|
|
}
|
|
}
|