Browse Source

开发:奖励视频 NO ADS 提示

XuJJ 3 weeks ago
parent
commit
ddeb7ed633

+ 1 - 1
snipershooting/ShootSniper/Assets/Scripts/Constants/UniversalDefinitions.cs

@@ -63,7 +63,7 @@ namespace SSTR
         /// <summary>
         /// 没有广告的提示
         /// </summary>
-        public const string noADTip = "PLEASE RETRY IT LATER";
+        public const string noADTip = "NO ADS";
         /// <summary>
         /// 每发子弹价值(剩余)
         /// </summary>

+ 5 - 0
snipershooting/ShootSniper/Assets/Scripts/ThirdSDK/AdBridge/AdBridge.cs

@@ -220,6 +220,11 @@ namespace SSTR.Base
 #else
             userRewardEarnedCallback?.Invoke();
 #endif
+#else
+            GlobalDataSource.Instance.OpenTip(UniversalDefinitions.noADTip);
+#if UNITY_EDITOR
+            userRewardEarnedCallback?.Invoke();
+#endif
 #endif
         }
     }