Documentation

Unity Engine

Unity Engine

OnEnable()

Called when the editor is enabled, if overridden please call the base OnEnable() 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 OnEnable()