bug修改
This commit is contained in:
@@ -98,6 +98,8 @@ namespace BingoBrain
|
||||
ui.com_Spinn.SetClick(ClickSpinBtn);
|
||||
ui.fairyBatching = false;
|
||||
Hall.Instance.UpdateSecondEvent += UpdateTime;
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void UpdateTime()
|
||||
@@ -147,6 +149,10 @@ namespace BingoBrain
|
||||
RefreshUI();
|
||||
ui.cont_state.selectedIndex =
|
||||
PreferencesMgr.Instance.IsOnceWheel ? com_wheel.State_normal : com_wheel.State_videl;
|
||||
if (!PreferencesMgr.Instance.IsOnceWheel && ConfigSystem.GetConfig<CommonModel>().PiggyBankSwitch == 1)
|
||||
{
|
||||
ui.btn_spin.saveing_open.selectedIndex = 1;
|
||||
}
|
||||
}
|
||||
|
||||
private void RefreshUI(object o = null)
|
||||
@@ -170,9 +176,9 @@ namespace BingoBrain
|
||||
else
|
||||
{
|
||||
id = turntable.wheel_itemB;
|
||||
if(id == 101)
|
||||
if (id == 101)
|
||||
{
|
||||
PreferencesMgr.Instance.VidelWheelLst[i]=MathF.Ceiling(PreferencesMgr.Instance.VidelWheelLst[i]);
|
||||
PreferencesMgr.Instance.VidelWheelLst[i] = MathF.Ceiling(PreferencesMgr.Instance.VidelWheelLst[i]);
|
||||
}
|
||||
val = id == 102
|
||||
? GameHelper.Get102Str((decimal)PreferencesMgr.Instance.VidelWheelLst[i])
|
||||
@@ -267,10 +273,10 @@ namespace BingoBrain
|
||||
NAAVsa.PlayAnim(wheel_ani, "daiji", true);
|
||||
if (PreferencesMgr.Instance.IsOnceWheel)
|
||||
{
|
||||
// ui.closeButton.touchable = false;
|
||||
// ui.btn_spin.touchable = false;
|
||||
// ui.closeButton.touchable = false;
|
||||
// ui.btn_spin.touchable = false;
|
||||
ui.com_Spinn.touchable = false;
|
||||
// ui.btn_spin.grayed = true;
|
||||
// ui.btn_spin.grayed = true;
|
||||
|
||||
GameHelper.GetRewardExtra(vo.wheel_itemA, (decimal)PreferencesMgr.Instance.FerrWheelLst[vo.Seq - 1],
|
||||
vo.cont_index, isCompleted =>
|
||||
@@ -285,6 +291,10 @@ namespace BingoBrain
|
||||
ui.cont_state.selectedIndex = PreferencesMgr.Instance.IsOnceWheel
|
||||
? com_wheel.State_normal
|
||||
: com_wheel.State_videl;
|
||||
if (!PreferencesMgr.Instance.IsOnceWheel && ConfigSystem.GetConfig<CommonModel>().PiggyBankSwitch == 1)
|
||||
{
|
||||
ui.btn_spin.saveing_open.selectedIndex = 1;
|
||||
}
|
||||
SetWheelData();
|
||||
RefreshUI();
|
||||
ui.fx_enter.Play();
|
||||
|
||||
Reference in New Issue
Block a user