기술 자료

Unity Engine

Unity Engine

OnClosed(Material)

This method is called when the ShaderGUI is being closed.
읽는 시간 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.