コード例 #1
0
        private void ImmediateDestroyDropdownList()
        {
            for (int i = 0; i < m_Items.Count; i++)
            {
                if (m_Items[i] != null)
                {
                    DestroyItem(m_Items[i]);
                }
            }

            m_Items.Clear();

            if (m_Dropdown != null)
            {
                DestroyDropdownList(m_Dropdown);
            }

            if (m_AlphaTweenRunner != null)
            {
                m_AlphaTweenRunner.StopTween();
            }

            m_Dropdown  = null;
            m_Coroutine = null;
        }