internal bool ShowNextTabIfPossible() { DockArea parent = this.m_Parent as DockArea; if ((bool)((UnityEngine.Object)parent)) { int num = (parent.m_Panes.IndexOf(this) + 1) % parent.m_Panes.Count; if (parent.selected != num) { parent.selected = num; parent.Repaint(); return(true); } } return(false); }
internal bool ShowNextTabIfPossible() { DockArea da = m_Parent as DockArea; if (da) { int idx = da.m_Panes.IndexOf(this); idx = (idx + 1) % da.m_Panes.Count; if (da.selected != idx) { da.selected = idx; da.Repaint(); return(true); } } return(false); }
internal bool ShowNextTabIfPossible() { DockArea dockArea = this.m_Parent as DockArea; if (dockArea) { int num = dockArea.m_Panes.IndexOf(this); num = (num + 1) % dockArea.m_Panes.Count; if (dockArea.selected != num) { dockArea.selected = num; dockArea.Repaint(); return(true); } } return(false); }