Files
unity/Assets/Game/Scripts/Equipment/EquipmentDefinition.cs
RCiBot 92623a1bc8 feat: establish mech extraction prototype with bilingual UI
Track Unity source, scenes, editable assets, licenses, tools and QA evidence. Exclude generated caches, Windows builds and raw runtime logs.
2026-11-12 12:28:40 +08:00

20 lines
550 B
C#

using UnityEngine;
namespace Ironspore
{
[CreateAssetMenu(menuName = "Ironspore/Equipment")]
public sealed class EquipmentDefinition : ScriptableObject
{
public string id;
public string displayName;
public string LocalizedName => GameLocalization.Text("equipment." + id + ".name");
public int slot;
public float mass = 2;
public float power = 2;
public float damage = 15;
public float fireRate = 6;
public float speedFactor = 1;
public bool guided;
}
}