예제 #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();
     }
 }
예제 #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
        }
예제 #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
        }
예제 #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
        }