void OnDisable() { m_TabState = eFindFriendTab.NONE; }
private void SetVisibleTab( int index) { foreach( AsSocialTab panel in m_Panels) panel.gameObject.SetActiveRecursively( false); m_Panels[index].gameObject.SetActiveRecursively( true); m_TabState = ( eFindFriendTab)index; }