13 个仓库
Custom attributes to simplify script logic and inspector data management.
Explore 13 awesome GitHub repositories matching part of an awesome list · Code Attributes. Refine with filters or upvote what's useful.
NaughtyAttributes 是一组用于 Unity 编辑器 Inspector 的自定义属性,允许进行字段验证、暴露非序列化属性以及添加自定义 UI 控件。它作为一个扩展库,无需编写自定义编辑器脚本即可自定义字段在 Inspector 界面中的绘制方式和行为。 该库提供了用于创建交互式元素(如执行特定方法的按钮)的工具,以及专门的输入控件(如滑块和下拉菜单)。它支持显示原生属性和非序列化字段,以便实时调试和监控游戏状态。 该工具包包括通过强制引用检查和数值范围限制进行数据验证的功能。它还支持字段更改回调,并直接在 Inspector 中渲染精灵和预制体的资源预览。
Provides a suite of useful inspector attributes.
Displays one inspector inside another.
Automatically injects components via attributes.
Adds color-coding to inspector fields.
Auto-attaches components to serialized fields.
Custom drawers for easier field value management.
Automatically creates reorderable lists for components.
Draws a stats bar for property values.
Exposes MonoBehaviour properties and methods to the inspector.
Embeds inspectors within other components.
Sets script execution order via attributes.