This asset is part of the Prodictivity Tools Bundle.
This asset is also part of the UI Bundle
UI Prefab Preview in the Inspector
It works just like the normal 3D object preview.
Supports Unity 2019, 2020, 2021, 2022, 2023, Unity 6, ... (LTS)
Full source code included
Uses assembly definitions to keep the compile times low.
Notice:
This is an editor only Asset. There is no runtime API.
If you get a "Can't remove X (Script) because Y (Script) depends on it" message then please uncheck the "Disable Custom Scripts in Preveiw" option in the settings (Tools > UI Preview > Open Settings).
Preview of Prefabs with ParticleSystems are not supported due to a Unity bug/limitation.
该资源是Prodictivity Tools Bundle的一部分。
该资源也是UI Bundle的一部分
UI预制件预览在检查器中
它的工作方式与普通3D对象预览相同。
支持 Unity 2019、2020、2021、2022、2023、Unity 6 等(LTS)版本
包含完整源代码
使用程序集定义以保持编译时间较低。
注意:
这是一个仅限编辑器的资产。没有运行时 API。
如果您收到“无法删除 X(脚本)因为 Y(脚本)依赖于它”的提示,请在设置中取消勾选“在预览中禁用自定义脚本”选项(工具 > UI 预览 > 打开设置)。
由于 Unity 的 bug/限制,带粒子系统的预制件预览不被支持。
|