OnClosed(Material)
This method is called when the ShaderGUI is being closed.
阅读时间1 分钟最后更新于 1 个月前
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.