- Unity 2017 Game Optimization(Second Edition)
- Chris Dickinson
- 167字
- 2021-07-02 23:20:59
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.
- 大學(xué)計(jì)算機(jī)應(yīng)用基礎(chǔ)實(shí)踐教程
- C語(yǔ)言程序設(shè)計(jì)案例教程(第2版)
- PyTorch Artificial Intelligence Fundamentals
- 小程序,巧運(yùn)營(yíng):微信小程序運(yùn)營(yíng)招式大全
- Java 11 Cookbook
- 零基礎(chǔ)學(xué)Python網(wǎng)絡(luò)爬蟲(chóng)案例實(shí)戰(zhàn)全流程詳解(高級(jí)進(jìn)階篇)
- 自然語(yǔ)言處理Python進(jìn)階
- Learning R for Geospatial Analysis
- Java程序設(shè)計(jì)案例教程
- C++20高級(jí)編程
- Visual Basic程序設(shè)計(jì)習(xí)題與上機(jī)實(shí)踐
- C/C++代碼調(diào)試的藝術(shù)(第2版)
- 你好!Python
- 數(shù)據(jù)結(jié)構(gòu):C語(yǔ)言描述(融媒體版)
- Visual FoxPro程序設(shè)計(jì)(第二版)