文档

Unity Engine

Unity Engine

EnteredEditMode

Occurs during the next update of the Editor application if it is in edit mode and was previously in play mode.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
EnteredEditMode = 0

Remarks

For new code, use OnEnteringEditModeAttribute instead to avoid unnecessary event subscription handling. For more information, refer to Code reload and the code lifecycle in the manual.