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

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 (at least in early builds of Unity 2017) 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.

主站蜘蛛池模板: 岐山县| 南木林县| 泾川县| 石河子市| 贞丰县| 景德镇市| 平安县| 永福县| 涟水县| 仪陇县| 岐山县| 吴桥县| 揭东县| 西和县| 迁安市| 五河县| 淮滨县| 厦门市| 天镇县| 咸丰县| 六枝特区| 文化| 友谊县| 岱山县| 沾化县| 巴马| 大安市| 翁牛特旗| 佳木斯市| 黎城县| 台江县| 乳山市| 二连浩特市| 潍坊市| 全州县| 中牟县| 河东区| 南木林县| 黄石市| 昌平区| 历史|