using System.Collections.Generic; using UnityEngine.Serialization; [System.Serializable] public class CarComponentConfig { /// /// 部件类型名称 /// public string 部件类型名; public List 车辆组件合集 = new List(); /// /// 选择的部件索引 /// public int SelectComponentIndex = 0; }