fix:1、更换项目,使用winter来创建
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using DG.Tweening;
|
||||
|
||||
using UnityEngine;
|
||||
using FlowerPower;
|
||||
using LoveLegend;
|
||||
|
||||
public class RewardSystem : BaseSystem
|
||||
{
|
||||
@@ -107,15 +107,15 @@ public class RewardSystem : BaseSystem
|
||||
{
|
||||
// if (!UIManager.Instance.IsExistUI(UIConst.H5UI))
|
||||
// {
|
||||
if (_tween is { active: true })
|
||||
{
|
||||
_tween?.Kill();
|
||||
}
|
||||
if (_tween is { active: true })
|
||||
{
|
||||
_tween?.Kill();
|
||||
}
|
||||
|
||||
GameHelper.OnRiseUI(id);
|
||||
GameHelper.OnRiseUI(id);
|
||||
// }
|
||||
}
|
||||
else if (id == 111 || id == 112)
|
||||
else if (id == 111)
|
||||
{
|
||||
if (_tween is { active: true })
|
||||
{
|
||||
@@ -142,7 +142,7 @@ public class RewardSystem : BaseSystem
|
||||
isPlayAudio = true,
|
||||
isNeedFly = isNeedFly,
|
||||
isNeedValueChange = isValueChange,
|
||||
audioName = AudioConst.Coinfly04
|
||||
audioName = AudioConst.CoinFly
|
||||
};
|
||||
|
||||
rewardDisplayModel.SetUpdate(changeValue => { OnChangeValue(id, changeValue); });
|
||||
@@ -178,13 +178,13 @@ public class RewardSystem : BaseSystem
|
||||
switch (id)
|
||||
{
|
||||
case 101:
|
||||
PreferencesMgr.Instance.IsShowRewardFly101 = isShow;
|
||||
DataMgr.IsShowRewardFly101.Value = isShow;
|
||||
break;
|
||||
case 102:
|
||||
PreferencesMgr.Instance.IsShowRewardFly102 = isShow;
|
||||
DataMgr.IsShowRewardFly102.Value = isShow;
|
||||
break;
|
||||
case 111:
|
||||
PreferencesMgr.Instance.IsShowRewardFly111 = isShow;
|
||||
DataMgr.IsShowRewardFly111.Value = isShow;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user