文档

Unity Engine

Unity Engine

DisplayName

Optional displayName to enable Profiler modules to specify display names.
阅读时间1 分钟最后更新于 1 个月前

Definition

public string DisplayName { get; }

Remarks

The displayName property allows Profiler modules to define custom display names for performance counters shown in the Unity Profiler UI, independent of the internal counter identifier.
If this is not provided, the name defaults to ProfilerCounterDescriptor.Name.
Additional Resources: ProfilerCounterDescriptor.