文档

Unity Engine

Download Unity

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.
阅读时间1 分钟最后更新于 2 个月前

Definition

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