Skip to main content

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

ConditionCompareAttribute

A topic by CatyboyStudio created Oct 14, 2022 Views: 85
Viewing posts 1 to 1
(1 edit)

Define a Data Compare condition

[ConditionCompare("Cond4", nameof(S1), ">", 2)]

 Determine whether the property S1 is greater than 2


CompareType

Property Type

Help

has

Flag Enum

Enum.HasFlag

IComparable

 

>=

IComparable or Equals supported

 

IComparable

 

<=

IComparable or Equals supported

 

!=

Equals supported

 

=, ==

Equals supported

 

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