void Awake() { GameObject.DontDestroyOnLoad(gameObject); Assert.IsNull(s_instance, "already have FuelSDKGroovePlanetIntegration instance in scene"); s_instance = this; events = new Dictionary <string, IgniteEvent>(); }
void OnDestroy() { Assert.IsTrue(s_instance == this, "we should be the only FuelSDKGroovePlanetIntegration instance in scene"); s_instance = null; }
void OnDestroy() { Assert.IsTrue(s_instance == this, "we should be the only FuelSDKGroovePlanetIntegration instance in scene"); s_instance = null; }
void Awake() { GameObject.DontDestroyOnLoad(gameObject); Assert.IsNull(s_instance, "already have FuelSDKGroovePlanetIntegration instance in scene"); s_instance = this; events = new Dictionary<string, IgniteEvent>(); }