void ShowUIPanel() { if (isCreate) { CreateTeamUIPanel.ShowMe(); } else if (TeamSystem.isHanHua) { HuanHuaTeam(); } // else if(TeamSystem.isYQ) // { // YaoQingTeam(); // } else { FastTeamPanel.ShowMe(); } }
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; }
void OnClickCreate(ButtonScript obj, object args, int param1, int param2) { CreateTeamUIPanel.SwithShowMe(); }