OnClosed(Material)
This method is called when the ShaderGUI is being closed.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public virtual void OnClosed(Material material)
Parameters
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.