Home
Tools
Utilities
screenshot
1/3
thumbnail
thumbnail
thumbnail
顽皮属性(NaughtyAttributes)是 Unity 检视器的一个扩展插件。
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Tuanjie/Unity Version
Built-in
URP
HDRP
Tuanjie 1.6.0
Compatible
Compatible
Compatible
Description

它扩展了 Unity 提供的属性范围,使您无需自定义编辑器或属性绘制器即可创建功能强大的检视器。它还提供了可应用于非序列化字段或函数的属性。

大多数属性是使用 Unity 的 CustomPropertyDrawer 实现的,因此它们可以在您的自定义编辑器中正常使用。但是,如果您希望所有属性都能在自定义编辑器中使用,则必须继承 NaughtyInspector 并使用 NaughtyEditorGUI.PropertyField_Layout 函数,而非 EditorGUILayout.PropertyField。


文档

GitHub 仓库


功能特性

  • 开源
  • 绘制器属性
  • 元属性
  • 验证器属性

NaughtyAttributes

Unity Asset Store rating
4.9(172 ratings)
Local data
484Views
4Favorites
Price
FREE
Only China users can be assigned assets. Other regions are currently not supported
License type
For questions about the license type, please refer to the EULA.
Extension Asset
File size
222.8 KB
Latest version
2.1.5
Latest release date
2026-04-27
Supported Unity versions
/
Supported Tuanjie versions
1.6.0 or higher
Publisher Support
d.b.rizov@gmail.com