Exemple #1
0
 void SetTabIndex()
 {
     if (_headerTabs != null)
     {
         _headerTabs.SetActive(_currentPage);
     }
 }
Exemple #2
0
        public void OnSelectTab()
        {
            Debug.Log("Tab Button Clicked");

            if (onTabSelectedCallback != null)
            {
                onTabSelectedCallback();
            }

            if (_multiTabGroup == null)
            {
                _tabGroup.SetActive(this);
                return;
            }

            if (!isActive)
            {
                _multiTabGroup.SetActive(this);
            }
            else
            {
                _multiTabGroup.SetInactive(this);
            }
        }