public virtual void OnTabSelected(TabButton button) { if (active == button) { return; } else if (active) { active.Exit(); active.background.color = tabIdle; } active = button; active.background.color = tabActive; active.Select(); }