This commit is contained in:
2026-07-17 14:57:47 +08:00
parent 2fc0fc0418
commit c0587be3ff
9 changed files with 24 additions and 11 deletions
@@ -84,7 +84,7 @@ namespace ScrewsMaster
//初始化页面逻辑
private void InitView()
{
ui.text_num.text = GameHelper.GetPaymentTypeVO().payicon + ConfigSystem.GetConfig<CommonModel>().InitialNum;
var sk = FXManager.Instance.SetFx<SkeletonAnimation>(ui.spine_parent, Fx_Type.fx_first_reward, ref closeCallback);
sk.state.SetAnimation(0, "newbie_reward_an01", false);
@@ -98,9 +98,9 @@ namespace ScrewsMaster
sk.state.Complete += (a) =>
{
ui.state.selectedIndex = com_firstreward.State_page;
};
});
@@ -108,7 +108,7 @@ namespace ScrewsMaster
ui.btn_get.SetClick(GetReward);
ui.btn_close.SetClick(GetReward);
ui.money.GetChild("number_text").text = GameHelper.Get102Str(GameHelper.Get102());
var lightSk = FXManager.Instance.SetFx<SkeletonAnimation>(ui.bg_parent, Fx_Type.fx_win_light, ref closeCallback);
lightSk.state.SetAnimation(0, "animation", true);
}
@@ -137,7 +137,7 @@ namespace ScrewsMaster
DOVirtual.Float(0, (float)GameHelper.Get102(), 1,
value => { ui.money.GetChild("number_text").text = GameHelper.Get102Str((decimal)value); });
PlayerPrefs.SetInt("FirstReward", 1);
GameHelper.GetLoginModel().new_player = false;
});
DOVirtual.DelayedCall(2.5f, () =>
{