com.puzzlescapegames.singular_adapter 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21,14 +21,16 @@ namespace PuzzlescapeGames.SingularAdapter
|
|
|
21
21
|
public void Initialize()
|
|
22
22
|
{
|
|
23
23
|
_singularSDK = new GameObject( "SingularSDK" ).AddComponent< SingularSDK >();
|
|
24
|
-
GameObject.DontDestroyOnLoad( _singularSDK );
|
|
25
|
-
|
|
26
24
|
_singularSDK.SingularAPIKey = _settings.APIKey;
|
|
27
25
|
_singularSDK.SingularAPISecret = _settings.APISecret;
|
|
28
|
-
_singularSDK.InitializeOnAwake =
|
|
26
|
+
_singularSDK.InitializeOnAwake = false;
|
|
29
27
|
|
|
30
|
-
|
|
28
|
+
SingularSDK.InitializeSingularSDK();
|
|
31
29
|
SingularSDK.SkanRegisterAppForAdNetworkAttribution();
|
|
30
|
+
|
|
31
|
+
GameObject.DontDestroyOnLoad( _singularSDK );
|
|
32
|
+
|
|
33
|
+
Debug.Log( "[AnalyticsSystem] SingularAdapter Initialized" );
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
public void SendEvent( IAnalyticEvent analyticEvent )
|
package/package.json
CHANGED