Esempio n. 1
0
 public static void SetDisallowed(Features feature, bool value)
 {
     if (value)
         m_DisallowedFeatures |= feature;
     else
         m_DisallowedFeatures &= ~feature;
 }
Esempio n. 2
0
 public static void DisallowFeature(Features feature)
 {
     SetDisallowed(feature, true);
 }
Esempio n. 3
0
 public static void AllowFeature(Features feature)
 {
     SetDisallowed(feature, false);
 }