文档

Unity Engine

Unity Engine

EnterPlaymode()

Switches the editor to Play mode.
阅读时间1 分钟最后更新于 21 天前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static void EnterPlaymode()

Remarks

Equivalent to setting EditorApplication.isPlaying to true. Additional Resources: EditorApplication.isPlaying.