Editor.OnPreviewSettings 当预览设置
function OnPreviewSettings () : void
Description描述
Override this method if you want to show custom controls in the preview header.
如果你想在预览头显示自定义控件,重新这个方法。
The default implementation is a no-op.
默认执行一个空操作。
Note: Inspector previews are limited to the primary editor of persistent objects (assets), e.g., GameObjectInspector, MaterialEditor, TextureInspector. This means that it is currently not possible for a component to have its own inspector preview.
注意:检视面板预览仅限于永久对象(资源)的主编辑器。例如,GameObjectInspector、MaterialEditor、TextureInspector。这意味着它当前无法为一个组件有它自己的检视面板预览。
最后修改:2011年6月28日 Tuesday 11:36