Beispiel #1
0
    void ShowUIPanel()
    {
        if (isCreate)
        {
            CreateTeamUIPanel.ShowMe();
        }
        else
        if (TeamSystem.isHanHua)
        {
            HuanHuaTeam();
        }
//		else if(TeamSystem.isYQ)
//		{
//			YaoQingTeam();
//		}
        else
        {
            FastTeamPanel.ShowMe();
        }
    }
Beispiel #2
0
 static public void InitMyTeam(COM_TeamInfo info)
 {
     _MyTeamInfo      = info;
     TeamUI.teamInfo_ = info;
     //CreateTeamUIPanel.HideMe ();
     //TeamUI.SwithShowMe ();
     if (OnCreateTeam != null)
     {
         OnCreateTeam(info);
     }
     if (OnInitMyTeam != null)
     {
         OnInitMyTeam();
     }
     CreateTeamUIPanel.HideMe();
     if (OnUpdateMainteamList != null)
     {
         OnUpdateMainteamList();
     }
     GamePlayer.Instance.ShowBabyDirty = true;
     teamIsDirty_ = true;
 }
Beispiel #3
0
 void OnClickCreate(ButtonScript obj, object args, int param1, int param2)
 {
     CreateTeamUIPanel.SwithShowMe();
 }