【发布时间】:2020-10-24 15:30:32
【问题描述】:
是否可以在 Inspector 中使用其属性(“名称”)中的自定义名称绘制序列化数组? (仍然会有展开三角形)
所以不是
-> 元素 0
-> 元素 1
会的
-> 人
-> 汽车
有这样的类:
[Serializable]
public class Group {
public string name;
public Vector3 someVec;
}
public List <Group> m_Groups; // Drawing groups in the inspector
附:我正在使用 GetArrayElementAtIndex 遍历每个元素并单独绘制
【问题讨论】: