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); }