一键导入
bl-core-inspectors
Use for BovineLabs Core custom inspectors or property drawers, prefab override handling, serialized-property editing, or inspector debugging.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use for BovineLabs Core custom inspectors or property drawers, prefab override handling, serialized-property editing, or inspector debugging.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use for BovineLabs Core ConfigVars, manager initialization, runtime values, editor bindings, or config-variable debugging.
Use for BovineLabs Core IEntityCommands wrappers across bakers, command buffers, parallel jobs, tests, shared components, or entity mutations.
Use for BovineLabs Core initialization or destruction lifecycles, lifecycle groups, ordering, authoring, or world startup and shutdown issues.
Use for BovineLabs Core ObjectId definitions, registries, groups, auto-id or autoref, lookup baking, runtime lookup, or world object registry behavior.
Use for BovineLabs Core pause modes, pause markers, pause-aware groups, transitions, or systems that must continue or stop while paused.
Use for BovineLabs Core settings assets, SettingsUtility retrieval, world-targeted settings, baking, or missing and duplicate settings issues.
| name | bl-core-inspectors |
| description | Use for BovineLabs Core custom inspectors or property drawers, prefab override handling, serialized-property editing, or inspector debugging. |
Resolve Core editor source from Packages/com.bovinelabs.core or its exact Library/PackageCache entry. Preserve per-element state and prefab-aware behavior.
Documentation~/Inspectors.mdBovineLabs.Core.Editor/Inspectors/ElementEditor.csBovineLabs.Core.Editor/Inspectors/ElementProperty.csBovineLabs.Core.Editor/Inspectors/GraphToolkitElementProperty.csBovineLabs.Core.Editor/Inspectors/PrefabElementEditor.csBovineLabs.Core.Editor/Inspectors/PrefabElementProperty.csBovineLabs.Core.Editor/Inspectors/ElementUtility.csCreateElement(SerializedProperty property) and intercept only required properties.base.CreateElement(property) for default field rendering.PreElementCreation(...) to prepare state.PostElementCreation(...) to register callbacks and apply initial state.ElementUtility.SetVisible(...) for conditional UI sections.null from CreateElement(...) when intentionally skipping a property.Use Cache<T>() for callback state that must remain isolated per drawn element.
Reason:
SerializedProperty.Use GraphToolkitElementProperty for Unity 6.5+ custom property drawers rendered inside Graph Toolkit inspectors or inline value editors.
Rules:
UseFoldout => false only for drawers that must stay inline, such as compact value-reference rows.SkipSingleRoot => true for wrapper drawers that should unwrap a single composite Value child.SkipSingleRoot only unwraps when there is exactly one direct child and that child is a generic property with visible children.CreatePropertyField(...) helpers when overriding CreateElement(...); they return Graph Toolkit-aligned fields.[CustomPropertyDrawer(typeof(MyValueType))] over targeting primitive or broad Unity types.ParentType to control container style (Foldout, Label, None).GetDisplayName(...) for list entries when Element N is not useful.[PrefabElement] or prefab-aware base classes when instance edits should target prefab assets.