Version: Unity 6.1 Alpha (6000.1)
Language : English
Navigating the Profiler window
Adding profiling information to your code introduction

Adding profiling information to your code

You can add profilerA window that helps you to optimize your game. It shows how much time is spent in the various areas of your game. For example, it can report the percentage of time spent rendering, animating, or in your game logic. More info
See in Glossary
markers and counters to your code to further understand specific performance data related to your application, and visualize that data in custom Profiler modules.

Topic Description
Adding profiling information to your code introduction Use profiler markersPlaced in code to describe a CPU or GPU event that is then displayed in the Unity Profiler window. Added to Unity code by default, or you can use ProfilerMarker API to add your own custom markers. More info
See in Glossary
and counters to collect specific data about your application.
Adding profiler markers to your code Add profiler markers to mark up areas of your code.
Adding profiler counters to your code Collect specific statistics with profiler countersPlaced in code with the ProfilerCounter API to track metrics, such as the number of enemies spawned in your game. More info
See in Glossary
.
Visualizing profiler counters Add profiler counters to custom Profiler modules.

Additional resources


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答
Navigating the Profiler window
Adding profiling information to your code introduction
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961