Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnPreviewSettings()

Call this from Editor.OnPreviewSettings() or ObjectPreview.OnPreviewSettings to draw additional settings related to the mesh preview.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.