Documentation

Unity Engine

Unity Engine

OnDisable()

Called when the editor is disabled, if overridden please call the base OnDisable() to ensure that the material inspector is set up properly.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public virtual void OnDisable()