fix 是否解锁good提示
This commit is contained in:
parent
850af84078
commit
1af6269aef
|
@ -180,7 +180,7 @@ public class PanelGame : BasePanel
|
|||
|
||||
private void OnClickEndings()
|
||||
{
|
||||
if (!PlayerData.Instance.LevelReachGoodEnding(GameConfig.Instance.LevelSort[PlayerData.Instance.CurrentLevel-1]))
|
||||
if (!PlayerData.Instance.HasWatchedEndingAdTip(GameConfig.Instance.LevelSort[PlayerData.Instance.CurrentLevel-1], 0))
|
||||
{
|
||||
TKGSDKManager.Instance.ShowRewardAd(TKGRVPositionName.RV_GetTips, (_isReward) =>
|
||||
{
|
||||
|
|
|
@ -61,9 +61,10 @@ public class PanelResult : BasePanel
|
|||
|
||||
mBtnEndings.DelClick = OnClickShowEndingsDirectly;
|
||||
|
||||
string platform = StarkSDK.API.GetSystemInfo().platform;
|
||||
|
||||
|
||||
#if H5_DY
|
||||
string platform = StarkSDK.API.GetSystemInfo().platform;
|
||||
if (platform != null && platform.ToLower().Contains("ios"))
|
||||
{
|
||||
mBtnSuccShare.gameObject.SetActive(false);
|
||||
|
@ -193,7 +194,7 @@ public class PanelResult : BasePanel
|
|||
|
||||
private void OnClickEndings()
|
||||
{
|
||||
if (!PlayerData.Instance.LevelReachGoodEnding(GameConfig.Instance.LevelSort[PlayerData.Instance.CurrentLevel - 1]))
|
||||
if (!PlayerData.Instance.HasWatchedEndingAdTip(GameConfig.Instance.LevelSort[PlayerData.Instance.CurrentLevel - 1], 0))
|
||||
{
|
||||
TKGSDKManager.Instance.ShowRewardAd(TKGRVPositionName.RV_GetTips, (_isReward) =>
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue