Unity3D的editor inspector的一个增强:Brief
jopen
10年前
Unity3D的editor inspector的一个增强。增加支持在editor inspector中显示public & non-public 属性,字段,方法和静态成员。
支持嵌套对象。
License: MIT
How to
-
Add [ShowInEditor] attribute to the members you want to show in the inspector. For example:
[ShowInEditor(Comment = "This is a private field")] int privateField = 42;
-
Create a custom editor for the type and inherit from AU.AUEditor
[CustomEditor(typeof(AType))] class AEditor : AU.AUEditor<AType> { }