- 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.
- Java 開發從入門到精通(第2版)
- AWS Serverless架構:使用AWS從傳統部署方式向Serverless架構遷移
- PLC編程與調試技術(松下系列)
- Hands-On Natural Language Processing with Python
- WebRTC技術詳解:從0到1構建多人視頻會議系統
- Mastering Data Mining with Python:Find patterns hidden in your data
- Hands-On Kubernetes on Windows
- Learning VMware vSphere
- Go語言從入門到精通
- 零基礎學C語言(第4版)
- Python+Office:輕松實現Python辦公自動化
- H5+移動營銷設計寶典
- Deep Learning for Natural Language Processing
- PHP典型模塊與項目實戰大全
- Advanced C++