bug修改
This commit is contained in:
@@ -65,7 +65,7 @@ namespace ChillConnect
|
||||
// Debug.Log(args);
|
||||
int number = data.rewards;
|
||||
ui.text_award.text = number.ToString();
|
||||
ui.btn_claim.title = "Claim(<img src='ui://o9974uc5lryfcj'/>" + number + ")";
|
||||
ui.btn_claim.title = "Claim(<img src='ui://o9974uc5cou6b8'/>" + number + ")";
|
||||
ui.btn_claim.SetClick(() =>
|
||||
{
|
||||
GameHelper.addInterAdnumber();
|
||||
@@ -142,9 +142,9 @@ namespace ChillConnect
|
||||
((wheel_)ui.wheel.GetChild("wheel_")).t1.Play(() =>
|
||||
{
|
||||
rate_idnex++;
|
||||
ui.btn_mult.title = "(<img src='ui://o9974uc5lryfck'/>" + +rewardNum * boostList[rate_idnex % 5]+ ")";
|
||||
ui.btn_mult.title = "(<img src='ui://o9974uc5cou6b8'/>" + +rewardNum * boostList[rate_idnex % 5]+ ")";
|
||||
});
|
||||
ui.btn_mult.title = "(<img src='ui://o9974uc5lryfck'/>" + +rewardNum * boostList[rate_idnex]+ ")";
|
||||
ui.btn_mult.title = "(<img src='ui://o9974uc5cou6b8'/>" + +rewardNum * boostList[rate_idnex]+ ")";
|
||||
|
||||
list_1 = new List<item_wheel>() { ((wheel_)ui.wheel.GetChild("wheel_")).item_0, ((wheel_)ui.wheel.GetChild("wheel_")).item_1, (ui.wheel.GetChild("wheel_") as wheel_).item_2, (ui.wheel.GetChild("wheel_") as wheel_).item_3, (ui.wheel.GetChild("wheel_") as wheel_).item_4, (ui.wheel.GetChild("wheel_") as wheel_).item_5, (ui.wheel.GetChild("wheel_") as wheel_).item_6, (ui.wheel.GetChild("wheel_") as wheel_).item_7, };
|
||||
// list_1[2].img_light.visible = true;
|
||||
@@ -188,7 +188,7 @@ namespace ChillConnect
|
||||
((wheel_)ui.wheel.GetChild("wheel_")).t1.Play(() =>
|
||||
{
|
||||
rate_idnex++;
|
||||
ui.btn_mult.title = "(<img src='ui://o9974uc5lryfck'/>" + GameHelper.Get101Str((decimal)rewardNum * boostList[rate_idnex % boostList.Length])+ ")";
|
||||
ui.btn_mult.title = "(<img src='ui://o9974uc5cou6b8'/>" + GameHelper.Get101Str((decimal)rewardNum * boostList[rate_idnex % boostList.Length])+ ")";
|
||||
});
|
||||
|
||||
((wheel_)ui.wheel.GetChild("wheel_")).t0.Play(Scroll);
|
||||
@@ -233,7 +233,7 @@ namespace ChillConnect
|
||||
((wheel_)ui.wheel.GetChild("wheel_")).t1.Play(() =>
|
||||
{
|
||||
rate_idnex++;
|
||||
ui.btn_mult.title = "(<img src='ui://o9974uc5lryfck'/>" + GameHelper.Get101Str((decimal)rewardNum * boostList[rate_idnex % boostList.Length]) + ")";
|
||||
ui.btn_mult.title = "(<img src='ui://o9974uc5cou6b8'/>" + GameHelper.Get101Str((decimal)rewardNum * boostList[rate_idnex % boostList.Length]) + ")";
|
||||
});
|
||||
|
||||
((wheel_)ui.wheel.GetChild("wheel_")).t0.Play(Scroll);
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace ChillConnect
|
||||
AppDispatcher.Instance.AddListener(AppMsg.LoginInit, OnLoadingComplete);
|
||||
|
||||
// DataMgr.InitPreferences();
|
||||
// NetworkDispatcher.Instance.Dispatch(NetworkMsg.GetConfig);
|
||||
NetworkDispatcher.Instance.Dispatch(NetworkMsg.GetConfig);
|
||||
}
|
||||
private bool ispen = false;
|
||||
private void OnLoadingComplete(object param = null)
|
||||
|
||||
@@ -112,8 +112,9 @@ namespace ChillConnect
|
||||
{
|
||||
AwardNum = 20;
|
||||
AwardRate = 2;
|
||||
ui.btn_claim.title = "Claim(" + AwardNum + ")";
|
||||
}
|
||||
ui.btn_claim.title = "Claim(" + GameHelper.getChString((decimal)AwardNum) + ")";
|
||||
else ui.btn_claim.title = "Claim(" + GameHelper.getChString((decimal)AwardNum) + ")";
|
||||
if (IsWin)
|
||||
{
|
||||
if (PlayerPrefs.GetFloat("soundVolume", 1.0f) > 0f)
|
||||
@@ -162,7 +163,7 @@ namespace ChillConnect
|
||||
var sk = FXManager.Instance.SetFx<SkeletonAnimation>(ui.bg_parent, Fx_Type.fx_win, ref closeCallback);
|
||||
sk.state.SetAnimation(0, "out", true);
|
||||
|
||||
var sk1 = FXManager.Instance.SetFx<SkeletonAnimation>(ui.bg_parent_title, Fx_Type.fx_win_title, ref closeCallback);
|
||||
var sk1 = FXManager.Instance.SetFx<SkeletonAnimation>(ui.bg_parent_title, Fx_Type.fx_winstar, ref closeCallback);
|
||||
sk1.state.SetAnimation(0, "animation", false);
|
||||
|
||||
}
|
||||
@@ -626,11 +627,11 @@ namespace ChillConnect
|
||||
list_1[i].text_rate.text = "X" + rate_list[i];
|
||||
}
|
||||
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t1.Play(() =>
|
||||
{
|
||||
rate_idnex++;
|
||||
ui.btn_mult.title = "(" + GameHelper.getChString((decimal)successData_.cash_number * successData_.boost_array[rate_idnex % successData_.boost_array.Length]) + ")";
|
||||
});
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t1.Play(() =>
|
||||
{
|
||||
rate_idnex++;
|
||||
ui.btn_mult.title = "(" + GameHelper.getChString((decimal)successData_.cash_number * successData_.boost_array[rate_idnex % successData_.boost_array.Length]) + ")";
|
||||
});
|
||||
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t0.Play(Scroll);
|
||||
|
||||
@@ -674,11 +675,11 @@ namespace ChillConnect
|
||||
// return;
|
||||
// }
|
||||
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t1.Play(() =>
|
||||
{
|
||||
rate_idnex++;
|
||||
ui.btn_mult.title = "(" + GameHelper.getChString((decimal)successData_.cash_number * successData_.boost_array[rate_idnex % successData_.boost_array.Length]) + ")";
|
||||
});
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t1.Play(() =>
|
||||
{
|
||||
rate_idnex++;
|
||||
ui.btn_mult.title = "(" + GameHelper.getChString((decimal)successData_.cash_number * successData_.boost_array[rate_idnex % successData_.boost_array.Length]) + ")";
|
||||
});
|
||||
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t0.Play(Scroll);
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t0.timeScale = (ui.wheel.GetChild("wheel_") as wheel_).t0.timeScale - 0.3f;
|
||||
|
||||
@@ -99,7 +99,7 @@ namespace ChillConnect
|
||||
// ui.bg.visible = false;
|
||||
// });
|
||||
ui.t0.Play();
|
||||
DOVirtual.DelayedCall(3.5f, () =>
|
||||
DOVirtual.DelayedCall(1.5f, () =>
|
||||
{
|
||||
// ui.anim.visible = false;
|
||||
if (need_show&&GameHelper.IsGiftSwitch()) {
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace ChillConnect
|
||||
{
|
||||
if (Screen.safeArea.y != 0)
|
||||
{
|
||||
ui.bg.y += 68;
|
||||
// ui.bg.y += 68;
|
||||
ui.group_top.y += 68;
|
||||
}
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ namespace ChillConnect
|
||||
|
||||
ui.btn_privacy.SetClick(() => { UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.PrivacyUI_Open, 0); });
|
||||
ui.btn_terms.SetClick(() => { UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.PrivacyUI_Open, 1); });
|
||||
ui.btn_official.SetClick(() => { OpenBrowser.OpenURL("https://www.ballcrushbest.fun"); });
|
||||
ui.btn_official.SetClick(() => { OpenBrowser.OpenURL("https://reddhotcompangost.com"); });
|
||||
|
||||
ui.btn_us.SetClick(() => { GameHelper.OpenEmail(); });
|
||||
|
||||
|
||||
@@ -1731,7 +1731,7 @@ namespace ChillConnect
|
||||
return;
|
||||
}
|
||||
|
||||
if ((complte_progress > ((float)ConfigSystem.GetConfig<CommonModel>().FailedGiftProgress / 100)) && !is_resurgence)
|
||||
if ((complte_progress > ((float)ConfigSystem.GetConfig<CommonModel>().FailedGiftProgress / 100)) && !is_resurgence&&GameHelper.IsGiftSwitch())
|
||||
{
|
||||
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.ResurgenceUI_Open, complte_progress);
|
||||
@@ -1775,7 +1775,7 @@ namespace ChillConnect
|
||||
is_showslot = true;
|
||||
return;
|
||||
}
|
||||
if ((complte_progress > ((float)ConfigSystem.GetConfig<CommonModel>().FailedGiftProgress / 100)) && !is_resurgence)
|
||||
if ((complte_progress > ((float)ConfigSystem.GetConfig<CommonModel>().FailedGiftProgress / 100)) && !is_resurgence&&GameHelper.IsGiftSwitch())
|
||||
{
|
||||
|
||||
UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.ResurgenceUI_Open, complte_progress);
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace ChillConnect
|
||||
|
||||
var value = GetRewardValue();
|
||||
ui.text_num.text = GameHelper.Get101Str(value);
|
||||
ui.btn_collect.title = "Claim(<img src='ui://o9974uc5lryfcj'/>" + GameHelper.Get101Str((decimal)value) + ")";
|
||||
ui.btn_collect.title = "Claim(<img src='ui://o9974uc5cou6b8'/>" + GameHelper.Get101Str((decimal)value) + ")";
|
||||
DOVirtual.DelayedCall(0.2f, () =>
|
||||
{
|
||||
var gamwin =
|
||||
@@ -157,9 +157,9 @@ namespace ChillConnect
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t1.Play(() =>
|
||||
{
|
||||
rate_idnex++;
|
||||
ui.btn_multi.title = "(<img src='ui://o9974uc5lryfck'/>"+ cash_num * boost_array[rate_idnex % 5] + ")";
|
||||
ui.btn_multi.title = "(<img src='ui://o9974uc5cou6b8'/>"+ cash_num * boost_array[rate_idnex % 5] + ")";
|
||||
});
|
||||
ui.btn_multi.title = "(<img src='ui://o9974uc5lryfck'/>" + cash_num * boost_array[4] + ")";
|
||||
ui.btn_multi.title = "(<img src='ui://o9974uc5cou6b8'/>" + cash_num * boost_array[4] + ")";
|
||||
|
||||
list_1 = new List<item_wheel>() { (ui.wheel.GetChild("wheel_") as wheel_).item_0, (ui.wheel.GetChild("wheel_") as wheel_).item_1, (ui.wheel.GetChild("wheel_") as wheel_).item_2, (ui.wheel.GetChild("wheel_") as wheel_).item_3, (ui.wheel.GetChild("wheel_") as wheel_).item_4, (ui.wheel.GetChild("wheel_") as wheel_).item_5, (ui.wheel.GetChild("wheel_") as wheel_).item_6, (ui.wheel.GetChild("wheel_") as wheel_).item_7, };
|
||||
// list_1[2].img_light.visible = true;
|
||||
@@ -286,7 +286,7 @@ namespace ChillConnect
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t1.Play(() =>
|
||||
{
|
||||
rate_idnex++;
|
||||
ui.btn_multi.title ="(<img src='ui://o9974uc5lryfck'/>" + GameHelper.Get101Str((decimal)cash_num * boost_array[rate_idnex % boost_array.Length]) + ")";
|
||||
ui.btn_multi.title ="(<img src='ui://o9974uc5cou6b8'/>" + GameHelper.Get101Str((decimal)cash_num * boost_array[rate_idnex % boost_array.Length]) + ")";
|
||||
});
|
||||
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t0.Play(Scroll);
|
||||
@@ -341,7 +341,7 @@ namespace ChillConnect
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t1.Play(() =>
|
||||
{
|
||||
rate_idnex++;
|
||||
ui.btn_multi.title = "(<img src='ui://o9974uc5lryfck'/>" + GameHelper.Get101Str((decimal)cash_num * boost_array[rate_idnex % boost_array.Length]) + ")";
|
||||
ui.btn_multi.title = "(<img src='ui://o9974uc5cou6b8'/>" + GameHelper.Get101Str((decimal)cash_num * boost_array[rate_idnex % boost_array.Length]) + ")";
|
||||
});
|
||||
|
||||
(ui.wheel.GetChild("wheel_") as wheel_).t0.Play(Scroll);
|
||||
|
||||
Reference in New Issue
Block a user