文档

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.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Parameters

materialEditor

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