fix:1、更换ui(图鉴相关)
This commit is contained in:
@@ -405,7 +405,7 @@ namespace RedHotRoast
|
||||
var btnSecret = ui.btn_secret as btn_secret;
|
||||
var btnSecretAnim = FXManager.Instance.SetFx<SkeletonAnimation>(btnSecret.anim, Fx_Type.fx_btn_secret, ref closeCallback);
|
||||
btnSecretAnim.state.SetAnimation(0, "animation", true);
|
||||
|
||||
|
||||
var btnVip = ui.btn_vip as btn_vip;
|
||||
var btnVipAnim = FXManager.Instance.SetFx<SkeletonAnimation>(btnVip.anim, Fx_Type.fx_btn_vip, ref closeCallback);
|
||||
btnVipAnim.state.SetAnimation(0, "animation", true);
|
||||
@@ -417,7 +417,6 @@ namespace RedHotRoast
|
||||
var btnLive = ui.btn_live as btn_live;
|
||||
var btnLiveAnim = FXManager.Instance.SetFx<SkeletonAnimation>(btnLive.anim, Fx_Type.fx_btn_live, ref closeCallback);
|
||||
btnLiveAnim.state.SetAnimation(0, "animation", true);
|
||||
btnLive.anim.SetScale(0.35f, 0.35f);
|
||||
|
||||
ui.fairyBatching = true;
|
||||
int level = GameHelper.GetLevel();
|
||||
@@ -599,6 +598,7 @@ namespace RedHotRoast
|
||||
else
|
||||
{
|
||||
Levelunlock levelunlock_ = DataMgr.LevelUnlockListNew.Value.FirstOrDefault(x => x.level_ == GameHelper.GetLevel());
|
||||
Debug.Log($"levelunlock_0-----------------:{levelunlock_.config_index} {levelunlock_.type}");
|
||||
if (levelunlock_ != null)
|
||||
{
|
||||
if (levelunlock_.type == 0)
|
||||
|
||||
Reference in New Issue
Block a user