fix:1、添加egg动画。2、更换ui(签到,大厅,登录加载界面)。3、删除暂时不需要的资源
This commit is contained in:
@@ -717,7 +717,7 @@ namespace LoveLegend
|
||||
{
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.PassViewUI_Open);
|
||||
}
|
||||
public int BtnNum = 12;
|
||||
public int BtnNum = 10;
|
||||
private List<btn_item_play> list_play = new List<btn_item_play>();
|
||||
private void InitBtn(int avaterid = -1)
|
||||
{
|
||||
@@ -737,7 +737,7 @@ namespace LoveLegend
|
||||
if (lv < level_)
|
||||
{
|
||||
|
||||
list_play[i].state.selectedIndex = 2;
|
||||
list_play[i].state.selectedIndex = 0;
|
||||
|
||||
}
|
||||
else if ((stage_ * BtnNum + 1 + i) == level_)
|
||||
@@ -745,12 +745,12 @@ namespace LoveLegend
|
||||
list_play[i].state.selectedIndex = 1;
|
||||
list_play[i].SetClick(OnClickPlay);
|
||||
|
||||
if (avaterid >= 0) GameHelper.SetSelfAvatar(list_play[i].com_head.loader, avaterid);
|
||||
else GameHelper.SetSelfAvatar(list_play[i].com_head.loader, DataMgr.PlayerAvatarId.Value);
|
||||
var anim = FXManager.Instance.SetFx<SkeletonAnimation>(list_play[i].anim, Fx_Type.fx_play_button, ref closeCallback);
|
||||
anim.state.SetAnimation(0, "animation", true);
|
||||
}
|
||||
else
|
||||
{
|
||||
list_play[i].state.selectedIndex = 0;
|
||||
list_play[i].state.selectedIndex = 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user