UnityEditor.ClothInspector.ApplyRectSelection C# (CSharp) Method

ApplyRectSelection() private method

private ApplyRectSelection ( ) : void
return void
        private unsafe void ApplyRectSelection()
        {
            ClothSkinningCoefficient[] coefficients = this.cloth.coefficients;
            for (int i = 0; i < coefficients.Length; i++)
            {
                RectSelectionMode rectSelectionMode = this.m_RectSelectionMode;
                if (rectSelectionMode != RectSelectionMode.Replace)
                {
                    if (rectSelectionMode == RectSelectionMode.Add)
                    {
                        goto Label_004A;
                    }
                    if (rectSelectionMode == RectSelectionMode.Substract)
                    {
                        goto Label_0067;
                    }
                }
                else
                {
                    this.m_Selection[i] = this.m_RectSelection[i];
                }
                continue;
            Label_004A:
                *((sbyte*) &(this.m_Selection[i])) |= this.m_RectSelection[i];
                continue;
            Label_0067:
                this.m_Selection[i] = this.m_Selection[i] && !this.m_RectSelection[i];
            }
        }