public static void SetDisallowed(Features feature, bool value) { if (value) m_DisallowedFeatures |= feature; else m_DisallowedFeatures &= ~feature; }
public static void DisallowFeature(Features feature) { SetDisallowed(feature, true); }
public static void AllowFeature(Features feature) { SetDisallowed(feature, false); }