コード例 #1
0
        public static void GenerateTypeTree(TypeTreeContext context)
        {
            EditorExtensionLayout.GenerateTypeTree(context);
            ComponentLayout layout = context.Layout.Component;

            context.AddPPtr(context.Layout.GameObject.Name, layout.GameObjectName);
        }
コード例 #2
0
        public static void GenerateTypeTree(TypeTreeContext context)
        {
            EditorExtensionLayout.GenerateTypeTree(context);
            NamedObjectLayout layout = context.Layout.NamedObject;

            context.AddString(layout.NameName);
        }