Add config files at root
You need to add 2 files .npmrc and .upmconfig.toml respectively at your root folder make sure when you add them to root folder put a dot(.) at the start of the file name so that OS will consider then as hidden files (path to root folder for Mac OS users/<your user-name>) (path to root folder for Windows c:/users/<your user-name>) place the both file there
NOTE MS packages are not public and you need proper authentication to access and use the packages.
Add Mindstorm’s UPM Registry:
Edit > Project Settings.Package Manager from the sidebar.Add under Scoped Registries and input the following details:
Name: Mindstorm Studios URL: [<https://packages.mindstormstudios.com>](<https://packages.mindstormstudios.com/>) Scopes: com.mindstorm
Add Packages from Mindstorm’s Registry:
Window > Package Manager.My Registries from the dropdown menu in the Package Manager.Mindstorm Analytics package and click Install
void PostMaxInit()
{
..........
InitAdjust();
MA.ReleaseEvents();
..........
}
using MindstormStudios.Analytics;
.......
MA.PowerUpUsed(name, additionalData);
using MindstormStudios.Analytics;
.......
MA.CustomEvent("My_Custom_Event_Name", additionalData);