SDK_UnityMoney/Assets/Script/SDKManager/FirebaseManager/FireBaseSDKManager.cs

27 lines
592 B
C#
Raw Normal View History

2025-08-31 08:42:48 +00:00
using System;
2025-08-30 09:38:53 +00:00
using System.Collections;
using System.Collections.Generic;
using Firebase;
2025-08-31 08:42:48 +00:00
using Firebase.RemoteConfig;
2025-08-30 09:38:53 +00:00
using UnityEngine;
2025-09-01 10:32:50 +00:00
namespace WZ
2025-08-30 09:38:53 +00:00
{
2025-09-01 10:32:50 +00:00
public class FireBaseSDKManager : NormalSingleton<FireBaseSDKManager>
2025-08-31 05:48:26 +00:00
{
2025-09-01 10:32:50 +00:00
public void Init()
{
if (Application.isEditor)
{
return;
}
2025-09-01 10:32:50 +00:00
InitSDK();
}
2025-08-30 09:38:53 +00:00
2025-09-01 10:32:50 +00:00
private void InitSDK()
{
FireBaseRemoteConfigManager.Instance.FetchRemoteConfig();
FireBaseAnalyticsManager.Instance.InitSuperProperties();
}
2025-08-30 09:38:53 +00:00
}
2025-09-01 10:32:50 +00:00
}