예제 #1
0
        void Disable(string name)
        {
            if (EnabledDefines.Contains(name))
            {
                m_ToDisable.Add(name);
            }

            m_ToEnable.Remove(name);
        }
예제 #2
0
 bool DefineIsSet(string name)
 {
     return(!m_ToDisable.Contains(name) && (EnabledDefines.Contains(name) || m_ToEnable.Contains(name)));
 }