기술 자료

Unity Engine

Unity Engine

DevelopmentOnly

Allow UnityWebRequest to use plain text HTTP connections in development builds only.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
DevelopmentOnly = 1

Remarks

In development builds, UnityWebRequest is allowed to use plain text HTTP connections. Otherwise, it is only allowed to use HTTPS connections.
Choose this option if you want to use insecure plain text HTTP connections with local servers while developing your application, and secure HTTPS connections in a release build.
In the Editor, UnityWebRequest is always allowed to use plain text HTTP connections when you choose this option. To create a development build, enable Development Build in the Build Profiles window, or include BuildOptions.Development when you call BuildPipeline.BuildPlayer.