文档

Unity Engine


User Manual

Script Reference

Unity Engine


EnterPlaymode()

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

Definition

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

Remarks

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