UnityEditor.GameViewSizeGroup.IndexOf C# (CSharp) Method

IndexOf() public method

public IndexOf ( GameViewSize view ) : int
view GameViewSize
return int
        public int IndexOf(GameViewSize view)
        {
            int index = this.m_Builtin.IndexOf(view);
            if (index >= 0)
            {
                return index;
            }
            return this.m_Custom.IndexOf(view);
        }