Documentation

Unity Engine


User Manual

Script Reference

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 4 days ago

Definition

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