Created
December 14, 2023 20:56
-
-
Save SiarheiPilat/d85994d2ece8c1ebaae7ca3480bb2cd9 to your computer and use it in GitHub Desktop.
Simple script to test whether Firebase backend is working.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using Firebase; | |
using Firebase.Analytics; | |
public class FirebaseTest : MonoBehaviour | |
{ | |
void Start() | |
{ | |
FirebaseApp.CheckAndFixDependenciesAsync().ContinueWith(task => { FirebaseAnalytics.SetAnalyticsCollectionEnabled(true); }); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment