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

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.

主站蜘蛛池模板: 黑水县| 犍为县| 大竹县| 涿鹿县| 古蔺县| 鸡东县| 吴川市| 巩留县| 景德镇市| 西宁市| 剑河县| 嵊州市| 叶城县| 天台县| 永宁县| 玛多县| 会东县| 木里| 奇台县| 金沙县| 绥德县| 阿鲁科尔沁旗| 西华县| 咸丰县| 上蔡县| 石狮市| 芮城县| 建始县| 钟山县| 政和县| 东海县| 湘西| 顺平县| 鹤庆县| 寿光市| 丹阳市| 兴和县| 旌德县| 靖远县| 凤城市| 紫阳县|