- Unity 2017 Game Optimization(Second Edition)
- Chris Dickinson
- 215字
- 2021-07-02 23:20:59
Editor or standalone instances
The only way to access the Profiler is to launch it through the Unity Editor and connect it to a running instance of our application. This is the case whether we're executing our game in Play Mode within the Editor, running a standalone application on the local or remote device, or we wish to profile the Editor itself.
To open the Profiler, navigate to Window | Profiler within the Editor:

If the Editor is already running in Play Mode, then we should see reporting data actively gathering in the Profiler window.
To profile standalone projects, ensure that the Development Build and Autoconnect Profiler flags are enabled when the application is built.
Choosing whether to profile an Editor-based instance (through the Editor's Play Mode) or a standalone instance (built and running separately from the Editor) can be achieved through the Connected Player option in the Profiler window:

Note that switching back to the Unity Editor while profiling a separate standalone project will halt all data collection since the application will not be updated while it is in the background.
Note that the Development Build option is named Use Development Mode and the Connected Player option is named Active Profiler in Unity 5.
- Puppet 4 Essentials(Second Edition)
- Java程序設(shè)計(jì)實(shí)戰(zhàn)教程
- Visual C++程序設(shè)計(jì)學(xué)習(xí)筆記
- 看透JavaScript:原理、方法與實(shí)踐
- UI智能化與前端智能化:工程技術(shù)、實(shí)現(xiàn)方法與編程思想
- 速學(xué)Python:程序設(shè)計(jì)從入門到進(jìn)階
- Scala for Machine Learning(Second Edition)
- HTML5開發(fā)精要與實(shí)例詳解
- GameMaker Essentials
- Mastering Apache Camel
- 軟件設(shè)計(jì)模式(Java版)
- SQL Server 2008實(shí)用教程(第3版)
- 透視C#核心技術(shù):系統(tǒng)架構(gòu)及移動(dòng)端開發(fā)
- 自己動(dòng)手構(gòu)建編程語言:如何設(shè)計(jì)編譯器、解釋器和DSL
- Python高性能編程(第2版)