Documentation

Unity Engine


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 a month 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').