Ejemplo n.º 1
0
        public static void SetEnabled(this WarningType type, bool enable)
        {
#if UNITY_ASSERTIONS
            if (enable)
            {
                type.Enable();
            }
            else
            {
                type.Disable();
            }
#endif
        }