ドキュメント

Unity Engine

Unity Engine

OnClosed(Material)

This method is called when the ShaderGUI is being closed.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public virtual void OnClosed(Material material)

Parameters

material

Remarks

A common reason for this is when a new shader is assigned to a material. The callback is called immediately before the new shader is assigned.