RemoveCustomSize() public method

public RemoveCustomSize ( int index ) : void
index int
return void
示例#1
0
        public void Remove(int index)
        {
            if (index < m_GameViewSizeGroup.GetBuiltinCount())
            {
                Debug.LogError("Only custom game view sizes can be changed");
                return;
            }

            m_GameViewSizeGroup.RemoveCustomSize(index);
            GameViewSizes.instance.SaveToHDD();
        }