CategoryInfoAttribute
Provide a information to order and categorize at category level.
Read time 3 minutesLast updated 11 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Categorization
- Assembly: UnityEngine.CoreModule
- Inherits from: Attribute
[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.
See also ElementInfoAttribute.
Properties
Property | Description |
|---|---|
| Name | The name to use for this category. |
| Order | The position this category should use. |