文档

Unity Engine

Unity Engine

ExitingPlayMode

Occurs when exiting play mode, before the Editor is in edit mode.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
ExitingPlayMode = 3

Remarks

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