Method OnEnable OnEnable() Called by Unity when the inspector component is enabled Declaration protected virtual void OnEnable()