Exemplo n.º 1
0
        /// <summary>
        /// Initializes the game state before the game starts.
        /// </summary>
        protected override void InitAfterRegisteringAsSingleInstance()
        {
            base.InitAfterRegisteringAsSingleInstance();

            // now we initialize the event pusher
#if UNITY_ANDROID && !UNITY_EDITOR
            pep = new ProfileEventPusherAndroid();
#elif UNITY_IOS && !UNITY_EDITOR
            pep = new ProfileEventPusherIOS();
#endif
        }
Exemplo n.º 2
0
        /// <summary>
        /// Initializes the game state before the game starts.
        /// </summary>
        protected override void InitAfterRegisteringAsSingleInstance()
        {
            base.InitAfterRegisteringAsSingleInstance();

            // now we initialize the event pusher
#if UNITY_ANDROID && !UNITY_EDITOR
			pep = new ProfileEventPusherAndroid();
#elif UNITY_IOS && !UNITY_EDITOR
			pep = new ProfileEventPusherIOS();
#endif
        }
        /// <summary>
        /// Initializes the game state before the game starts.
        /// </summary>
        protected override void InitAfterRegisteringAsSingleInstance()
        {
            base.InitAfterRegisteringAsSingleInstance();

            SoomlaUtils.LogDebug(TAG, "Initializing ProfileEvents (Awake)");

            Initialize();

            // now we initialize the event pusher
#if UNITY_ANDROID && !UNITY_EDITOR
			pep = new ProfileEventPusherAndroid();
#elif UNITY_IOS && !UNITY_EDITOR
			pep = new ProfileEventPusherIOS();
#endif
        }