コード例 #1
0
        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;
        }
コード例 #2
0
        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);
        }