Unity3D的editor inspector的一个增强:Brief

jopen 10年前

Unity3D的editor inspector的一个增强。增加支持在editor inspector中显示public & non-public 属性,字段,方法和静态成员。

支持嵌套对象。

License: MIT

用于增强Unity3D的一个简单编辑器审查工具:Brief

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>  {    }

项目主页:http://www.open-open.com/lib/view/home/1416464519305