文档

Unity Engine

Unity Engine

OnPreviewSettings()

Call this from Editor.OnPreviewSettings() or ObjectPreview.OnPreviewSettings to draw additional settings related to the mesh preview.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public void OnPreviewSettings()

Remarks

This is optional. Using this feature will enable settings to display a wireframe overlay, different render modes, and UV layout displays.