Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMEnumConditionAttribute Class Reference

An attribute to conditionnally hide fields based on the current selection in an enum. Usage : [MMEnumCondition("rotationMode", (int)RotationMode.LookAtTarget, (int)RotationMode.RotateToAngles)] More...

Inheritance diagram for MoreMountains.Tools.MMEnumConditionAttribute:

Public Member Functions

bool ContainsBitFlag (int enumValue)
 
 MMEnumConditionAttribute (string conditionBoolean, params int[] enumValues)
 

Public Attributes

string ConditionEnum = ""
 
bool Hidden = false
 

Detailed Description

An attribute to conditionnally hide fields based on the current selection in an enum. Usage : [MMEnumCondition("rotationMode", (int)RotationMode.LookAtTarget, (int)RotationMode.RotateToAngles)]

Constructor & Destructor Documentation

◆ MMEnumConditionAttribute()

MoreMountains.Tools.MMEnumConditionAttribute.MMEnumConditionAttribute ( string  conditionBoolean,
params int[]  enumValues 
)

Member Function Documentation

◆ ContainsBitFlag()

bool MoreMountains.Tools.MMEnumConditionAttribute.ContainsBitFlag ( int  enumValue)

Member Data Documentation

◆ ConditionEnum

string MoreMountains.Tools.MMEnumConditionAttribute.ConditionEnum = ""

◆ Hidden

bool MoreMountains.Tools.MMEnumConditionAttribute.Hidden = false

The documentation for this class was generated from the following file: