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 a month ago

Definition

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