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

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.

主站蜘蛛池模板: 房产| 新民市| 华蓥市| 平潭县| 铜陵市| 绥芬河市| 文成县| 广灵县| 通州区| 康定县| 锦州市| 上杭县| 玛纳斯县| 华阴市| 公安县| 屏东市| 富锦市| 双桥区| 鄂温| 晋城| 台东市| 伊通| 佛坪县| 蓝田县| 星座| 历史| 宾阳县| 康马县| 九寨沟县| 托克托县| 吉林市| 玉田县| 友谊县| 大连市| 高尔夫| 台北县| 新竹县| 靖边县| 柘城县| 巢湖市| 乌恰县|