NET 3.x framework, and Unity 2017.x and later versions support the. In the Firebase console, click to download the Firebase Unity SDK (about 2.3G, there are two folders dotnet3, dotnet4), unzip it to any location, select Assets> Import Package> Custom Package in your unity project, and then import Analytics SDK, ( Unity 5.x and earlier versions use the. Add Firebase configuration fileĪfter registration, according to the workflow, download the google-services.json configuration file (found in your own application settings), then move the configuration file to your Unity project Assets folder, and then select the next step in the workflow. Register the app in FirebaseĬlick the unity icon on the console to start the registration application setup workflow, check the Android system (iOS and Android can be registered at the same time), enter the ID of the Unity project, open the Unity project in the Unity IDE, Android > Player Settings > Other SettingsFind the project ID (such as: -project-name), and the alias setting depends on your preference. Follow the process prompts to complete the project creation, Firebase will automatically provision resources for your Firebase project. In the Firebase console, click Add Project, and then select or enter the project name.Ģ. Please refer to the official document for details.įirebase registration (Google account), the whole process of adding and integrating the project requires a ladderīefore integrating functions, ensure that the target is API level 16 (Jelly Bean) or higher。 Create a Firebase projectġ. This article is aimed at the unity development of Android. Mainly refer to the official document link: link.
0 Comments
Leave a Reply. |