文档

Unity Engine

Unity Engine

CategoryInfoAttribute

Provide a information to order and categorize at category level.
阅读时间3 分钟最后更新于 1 个月前

Definition

[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]public sealed class CategoryInfoAttribute : Attribute

Remarks

Categories will be sorted using first the CategoryInfoAttribute.Order property, and if equals, using then the CategoryInfoAttribute.Name.
See also IRenderPipelineGraphicsSettings for usage example.

Properties

Property

Description

NameThe name to use for this category.
OrderThe position this category should use.

Inheritance

Inherited Members