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

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.

主站蜘蛛池模板: 西宁市| 叶城县| 平潭县| 南木林县| 东阳市| 嘉荫县| 石嘴山市| 弥勒县| 项城市| 茶陵县| 富川| 青神县| 安吉县| 北辰区| 清原| 屏山县| 巴彦淖尔市| 天镇县| 衡南县| 称多县| 射阳县| 万盛区| 砀山县| 策勒县| 庆城县| 游戏| 岳阳市| 米脂县| 鹿泉市| 佛山市| 陕西省| 赤城县| 宁乡县| 库伦旗| 江津市| 宁都县| 桂林市| 吉林省| 申扎县| 同心县| 昆明市|