diff --git a/Runtime/GuruCore/Runtime/Ads/ARO.meta b/Runtime/GuruCore/Runtime/Ads/ARO.meta deleted file mode 100644 index 6b8643d..0000000 --- a/Runtime/GuruCore/Runtime/Ads/ARO.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 9080cfebfd2d4cda9c0710d7128132b0 -timeCreated: 1679381317 \ No newline at end of file diff --git a/Runtime/GuruCore/Runtime/Ads/ARO/GuruAROConfig.cs b/Runtime/GuruCore/Runtime/Ads/ARO/GuruAROConfig.cs deleted file mode 100644 index 81c7396..0000000 --- a/Runtime/GuruCore/Runtime/Ads/ARO/GuruAROConfig.cs +++ /dev/null @@ -1,44 +0,0 @@ -namespace Guru -{ - using UnityEngine; - - /// - /// ARO云控参数 - /// - public class GuruAROConfig - { - public bool enable = false; - - public static readonly string Key = "aro_impression_config"; // 配置Key - public static readonly string DefaultValue = "{\"enable\":false}"; // 默认值 - - /// - /// 获取在线参数 - /// - /// - public static GuruAROConfig Get() - { - FirebaseUtil.AppendDefaultValue(Key, DefaultValue); - - var config = FirebaseUtil.GetRemoteConfig(Key); - if (config == null) - { - config = new GuruAROConfig(); - } - FirebaseUtil.OnFetchRemoteSuccess += config.OnFetchSuccess; - return config; - } - - /// - /// 拉取完成 - /// - private void OnFetchSuccess() - { - FirebaseUtil.OnFetchRemoteSuccess -= OnFetchSuccess; - - var config = FirebaseUtil.GetRemoteConfig(Key); - if (config != null) enable = config.enable; - } - - } -} \ No newline at end of file diff --git a/Runtime/GuruCore/Runtime/Ads/ARO/GuruAROConfig.cs.meta b/Runtime/GuruCore/Runtime/Ads/ARO/GuruAROConfig.cs.meta deleted file mode 100644 index 71ce3ef..0000000 --- a/Runtime/GuruCore/Runtime/Ads/ARO/GuruAROConfig.cs.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: 37bdc74bb6334e7783854ade25d76450 -timeCreated: 1681906541 \ No newline at end of file