namespace FishNet.Object
{
[System.Flags]
public enum TransformPropertiesFlag : byte
{
Unset = 0,
Position = 1,
Rotation = 2,
LocalScale = 4,
Everything = ~(-1 << 8),
}
public static class TransformPropertiesOptionExtensions
{
///
/// Returns if enum contains a value.
///
/// Value checked against.
/// Value checked if whole contains.
///
public static bool FastContains(this TransformPropertiesFlag whole, TransformPropertiesFlag part) => (whole & part) == part;
}
}