Beispiel #1
0
 /// <summary>
 /// MonoBehaviour OnEnable Method
 /// </summary>
 public void OnEnable()
 {
     if (_logger != null)
     {
         _logger.OnEnable();
     }
 }
 /// <summary>
 /// MonoBehaviour OnEnable Method
 /// </summary>
 private void OnEnable()
 {
     if (_logger != null)
     {
         _logger.OnEnable();
     }
 }
Beispiel #3
0
        /// <summary>
        /// MonoBehaviour OnEnable Method
        /// </summary>
        private void OnEnable()
        {
            if (_logger != null)
            {
                _logger.OnEnable();
            }

#if !DISABLE_PLAYFABENTITY_API && !DISABLE_PLAYFABCLIENT_API
            if ((screenTimeTracker != null) && !PlayFabSettings.DisableFocusTimeCollection)
            {
                screenTimeTracker.OnEnable();
            }
#endif
        }
Beispiel #4
0
        /// <summary>
        /// MonoBehaviour OnEnable Method
        /// </summary>
        private void OnEnable()
        {
            if (_logger != null)
            {
                _logger.OnEnable();
            }

#if ENABLE_PLAYFABENTITY_API
            if ((screenTimeTracker != null) && (shouldCollectScreenTime != false))
            {
                screenTimeTracker.OnEnable();
            }
#endif
        }
Beispiel #5
0
        /// <summary>
        /// MonoBehaviour OnEnable Method
        /// </summary>
        private void OnEnable()
        {
            if (_logger != null)
            {
                _logger.OnEnable();
            }

#if ENABLE_PLAYFABENTITY_API && ENABLE_PLAYFAB_BETA
            if ((screenTimeTracker != null) && (!PlayFabSettings.DisableFocusTimeCollection != false))
            {
                screenTimeTracker.OnEnable();
            }
#endif
        }