Window > GameAnalytics > Create GameAnalytics objectĪ GameAnalytics object will be placed in the scene you are currently on (remember to save the scene to keep the changes). Cinemachine is free and available for any project. If you don't see the package, look for a dropdown menu above the list and select All packages. Open the initial scene the game will load. The Unity package manager is something that handles all the packages installed and available, and the asset store is a place where people put up their assets. Installing Cinemachine Use the Unity Package Manager (in the top menu: Window > Package Manager) to select Cinemachine for installation. It is required and used to handle initialization when the game is launched. To use GameAnalytics you need to add the GameAnalytics GameObject to your starting scene. You need to manually initialize the SDK by calling GameAnalytics.Initialize() from your own GameObject (with script execution order coming after GameAnalytics script’s order if your object is in the same scene as the GameAnalytics object as some code is called on Awake event which needs to be called before initializing the sdk). The GameAnalytics Unity SDK uses IDFV (for iOS) as the user id and it will only add IDFA to events if IDFA consent status is authorized. Figure 01: The Package Manager window displays a list of Packages in your project and those installed. In addition, you can use this window to install, remove, or update packages for each project. If you don't need to use IDFA and you don't have any third party SDKs that need to use IDFA then you don't need to show the IDFA consent dialog (you need to use v6.6.4 or later of the Unity SDK). The Unity Package Manager is used to view which packages are available for installation or already installed in your project (Figure 01). Remember to add a usage-description to the ist file as described here.
0 Comments
Leave a Reply. |