文档

Unity Engine

Unity Engine

EnteredPlayMode

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

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor
EnteredPlayMode = 2

Remarks

Because this event is synchronized with the editor application's update loop, it may occur after the game's update loop has already executed one or more times.