27 lines
		
	
	
		
			592 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			592 B
		
	
	
	
		
			C#
		
	
	
	
| using System;
 | |
| using System.Collections;
 | |
| using System.Collections.Generic;
 | |
| using Firebase;
 | |
| using Firebase.RemoteConfig;
 | |
| using UnityEngine;
 | |
| 
 | |
| namespace WZ
 | |
| {
 | |
|     public class FireBaseSDKManager : D_MonoSingleton<FireBaseSDKManager>
 | |
|     {
 | |
|         public void Init()
 | |
|         {
 | |
|             if (Application.isEditor)
 | |
|             {
 | |
|                 return;
 | |
|             }
 | |
|             InitSDK();
 | |
|         }
 | |
| 
 | |
|         private void InitSDK()
 | |
|         {
 | |
|             FireBaseRemoteConfigManager.Instance.FetchRemoteConfig();
 | |
|             FireBaseAnalyticsManager.Instance.InitSuperProperties();
 | |
|         }
 | |
|     }
 | |
| } |