Пример #1
0
        /// <summary>
        /// Next implementation.
        /// </summary>
        /// <returns>Next widget UI handler, parent if there is none.</returns>
        public override DebugUIHandlerWidget Next()
        {
            if (!valueToggle.isOn || m_Container == null)
            {
                return(base.Next());
            }

            var firstChild = m_Container.GetFirstItem();

            if (firstChild == null)
            {
                return(base.Next());
            }

            return(firstChild);
        }
        public override DebugUIHandlerWidget Next()
        {
            if (!m_Field.GetValue() || m_Container == null)
            {
                return(base.Next());
            }

            var firstChild = m_Container.GetFirstItem();

            if (firstChild == null)
            {
                return(base.Next());
            }

            return(firstChild);
        }