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

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.

主站蜘蛛池模板: 潼关县| 获嘉县| 清水河县| 游戏| 宿松县| 云霄县| 鄂托克前旗| 隆昌县| 丰顺县| 内丘县| 阳城县| 习水县| 宁远县| 墨玉县| 宝清县| 息烽县| 营山县| 崇礼县| 通许县| 宁海县| 沂源县| 芮城县| 梨树县| 莱阳市| 凉山| 隆林| 连平县| 营口市| 湟中县| 惠水县| 吴川市| 五河县| 潢川县| 南岸区| 孝感市| 灯塔市| 商都县| 洛阳市| 通河县| 壤塘县| 沅陵县|