Class AchievementConditionCategoryAttribute
Declares which shelf a concrete AchievementCondition is listed under in the authoring picker. The condition type catalogue reads this attribute by reflection, so a condition — whether shipped with Serenity or authored by a project — is pickable the moment it declares its category, with no catalogue edit required.
Implements
Inherited Members
Namespace: Serenity.Achievements.Infrastructure.Conditions
Assembly: Serenity.UnityAchievements.Infrastructure.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class AchievementConditionCategoryAttribute : Attribute, _Attribute
Constructors
AchievementConditionCategoryAttribute(AchievementConditionCategory)
Declares the shelf a condition type is listed under.
Declaration
public AchievementConditionCategoryAttribute(AchievementConditionCategory category)
Parameters
| Type | Name | Description |
|---|---|---|
| AchievementConditionCategory | category | The shelf. |
Properties
Category
Declaration
public AchievementConditionCategory Category { get; }
Property Value
| Type | Description |
|---|---|
| AchievementConditionCategory | The shelf this condition type is listed under. |