文档

Unity Engine


User Manual

Script Reference

Unity Engine


ConnectToHost

Sets the Player to connect to the Editor.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
ConnectToHost = 4096

Remarks

Sets the Player to connect to the Editor and it requires BuildOptions.Development to be set. Please note that you should only use this in development.
Additional Resources: BuildPipeline.BuildPlayer