UnityEditor.LayerVisibilityWindow.DoSpecialLayer C# (CSharp) Method

DoSpecialLayer() private method

private DoSpecialLayer ( Rect rect, bool all, bool &even ) : void
rect UnityEngine.Rect
all bool
even bool
return void
        private void DoSpecialLayer(Rect rect, bool all, ref bool even)
        {
            bool flag2;
            bool flag3;
            int visibleLayers = Tools.visibleLayers;
            int num2 = !all ? 0 : this.m_AllLayersMask;
            bool visible = (visibleLayers & this.m_AllLayersMask) == num2;
            this.DoLayerEntry(rect, !all ? "Nothing" : "Everything", even, true, false, visible, false, out flag2, out flag3);
            if (flag2)
            {
                Tools.visibleLayers = !all ? 0 : -1;
                RepaintAllSceneViews();
            }
            even = !even;
        }