官术网_书友最值得收藏!

  • Unity Game Optimization
  • Dr. Davide Aversa Chris Dickinson
  • 157字
  • 2021-06-24 12:12:54

Connecting to a WebGL instance

The Profiler can also be connected to an instance of the Unity WebGL Player. This can be achieved by ensuring that the Development Build and Autoconnect Profiler flags are enabled when the WebGL application is built and run from the Editor. The application will then be launched through the operating system's default browser. This enables us to profile our web-based application in a more real-world scenario through the target browser and test multiple browser types for inconsistencies in behavior (although this requires us to keep changing the default browser).

Unfortunately, the Profiler connection can only be established when the application is first launched from the Editor. It currently cannot be connected to a standalone WebGL instance already running in a browser. This limits the accuracy of benchmarking WebGL applications since there will be some Editor-based overhead, but it's the only option we have available for the moment.

主站蜘蛛池模板: 印江| 甘洛县| 靖远县| 松原市| 石家庄市| 阿拉尔市| 屯门区| 天峻县| 凤庆县| 泌阳县| 奈曼旗| 来宾市| 钟祥市| 遂溪县| 通化县| 泸溪县| 陈巴尔虎旗| 民权县| 龙江县| 桂林市| 祥云县| 百色市| 崇仁县| 桃源县| 武山县| 河南省| 会同县| 贡觉县| 张家川| 石家庄市| 循化| 洱源县| 砚山县| 防城港市| 宜宾县| 祁阳县| 岱山县| 平定县| 祥云县| 全南县| 成都市|