ProfilerCategory

struct in Unity.Profiling

Cambiar al Manual

Descripción

Use to specify category for instrumentation Profiler markers.

using Unity.Profiling;

public class MySystemClass { static readonly ProfilerMarker s_SimulatePerfMarker = new ProfilerMarker(ProfilerCategory.Ai, "MySystem.Simulate");

public void UpdateLogic() { using (s_SimulatePerfMarker.Auto()) { // ... } } }

See Also: ProfilerMarker.

Variables Estáticas

AiAI and NavMesh Profiler category.
AnimationAnimation Profiler category.
AudioAudio system Profiler category.
GuiUI Profiler category.
InputInput system Profiler category.
InternalInternal Unity systems Profiler category.
LightingGlobal Illumination Profiler category.
LoadingLoading system Profiler category.
MemoryMemory allocation Profiler category.
NetworkNetworking system Profiler category.
ParticlesParticle system Profiler category.
PhysicsPhysics system Profiler category.
RenderRendering system Profiler category.
ScriptsGeneric C# code Profiler category.
VideoVideo system Profiler category.
VirtualTexturingVirtual Texturing system Profiler category.
VrVR systen Profiler category.

Variables

ColorGets Profiler category color.
NameGets Profiler category name.

Constructores

ProfilerCategoryUse to construct ProfilerCategory by category name.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961