| FlagsHelperUnsetT Method |
Remove an enum from a bitmask
Namespace:
DustProductions.Core
Assembly:
DustProductions.Core (in DustProductions.Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static void Unset<T>(
ref T flags,
T flag
)
where T : struct, new()
Parameters
- flags
- Type: T
The value of the mask to be edited - flag
- Type: T
The enum to remove from the mask
Type Parameters
- T
- The enum type
See Also