Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnMaterialPreviewSettingsGUI(MaterialEditor)

Override for extending the functionality of the toolbar of the preview area or completly replace the toolbar by not calling base.OnMaterialPreviewSettingsGUI.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public virtual void OnMaterialPreviewSettingsGUI(MaterialEditor materialEditor)

Parameters

materialEditor

The MaterialEditor that are calling this method (the 'owner').