- 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.
- Learning NServiceBus(Second Edition)
- Python從小白到大牛
- Learning Chef
- Neo4j Essentials
- 軟件項目管理實用教程
- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- SQL Server與JSP動態(tài)網(wǎng)站開發(fā)
- Python圖形化編程(微課版)
- BeagleBone Robotic Projects(Second Edition)
- Arduino可穿戴設備開發(fā)
- Oracle實用教程
- Building Slack Bots
- iOS開發(fā)項目化入門教程
- Mastering Apache Camel
- 深入理解Kafka:核心設計與實踐原理