Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

ConditionHasFlagAttribute

A topic by CatyboyStudio created Oct 14, 2022 Views: 64
Viewing posts 1 to 1

Define a Enum.HasFlag condition

[ConditionHasFlag("F1", nameof(Switch4), EnumFlags.Flag1)]

Determine whether the property Switch4 is HasFlag to EnumFlags.Flag1

For Flags Enum property

For more information, please refer to the "Condition" description section