Skip to content

Getting Started

Requirements

Configuration

Installation

  • Add the following block to Packages/manifest.json
    "scopedRegistries": [
    {
      "name": "Senspark",
      "url": "http://senspark.com:9999",
      "scopes": [
        "com.google"
      ]
    },
    {
      "name": "npmjs",
      "url": "https://registry.npmjs.org/",
      "scopes": [
        "com.senspark"
      ]
    }
  ]
  • Add the following packages to link.xml
<linker>
    <assembly fullname="Firebase.Analytics">
    </assembly>
    <assembly fullname="Firebase.App">
    </assembly>
    <assembly fullname="Firebase.Crashlytics">
    </assembly>
    <assembly fullname="Firebase.RemoteConfig">
    </assembly>
    <assembly fullname="Newtonsoft.Json">
    </assembly>
</linker>
  • Go to Window/Package Manager and install Senspark EE-x package in My Registries packages

  • Go to Assets/Senspark EE-x/Settings to customize plugin settings:

Initialization

public class TestScene : MonoBehavior {
    private void Awake() {
        // Call this method only once.
        EE.Utils.NoAwait(Initialize);
    }

    public async Task Initialize() {
        EE.PluginManager.InitializePlugins();
        await Platform.RequestTrackingAuthorization();
    }
}