Exemplo n.º 1
0
 private void OnDestroy()
 {
     if (_comms != null)
     {
         _comms.StopTracking(this);
     }
 }
Exemplo n.º 2
0
    void StopTracking()
    {
        // if (!IsTracking)
        //     throw Log.CreatePossibleBugException("Attempting to stop player tracking, but tracking is not started", "EC5C395D-B544-49DC-B33C-7D7533349134");

        if (comms != null)
        {
            comms.StopTracking(this);
            IsTracking = false;
        }
    }
Exemplo n.º 3
0
        private void StopTracking()
        {
            if (!IsTracking)
            {
                throw Log.CreatePossibleBugException("Attempting to stop player tracking, but tracking is not started", "C7CF0174-0667-4F07-88E3-800ED652142D");
            }

            if (_comms != null)
            {
                _comms.StopTracking(this);
                IsTracking = false;
            }
        }
Exemplo n.º 4
0
        private void StopTracking()
        {
            if (!IsTracking)
            {
                throw Log.CreatePossibleBugException("Attempting to stop player tracking, but tracking is not started", "48802E32-C840-4C4B-BC58-4DC741464B9A");
            }

            if (_comms != null)
            {
                _comms.StopTracking(this);
                IsTracking = false;
            }
        }
Exemplo n.º 5
0
        private void StopTracking()
        {
            if (!_isTracking)
            {
                throw Log.CreatePossibleBugException("Attempting to stop player tracking, but tracking is not started", "EC5C395D-B544-49DC-B33C-7D7533349134");
            }

            if (_comms != null)
            {
                _comms.StopTracking(this);
                _isTracking = false;
            }
        }
Exemplo n.º 6
0
        private void StopTracking()
        {
            if (!IsTracking)
            {
                throw Log.CreatePossibleBugException("Attempting to stop player tracking, but tracking is not started", "48802E32-C840-4C4B-BC58-4DC741464B9A");
            }

            // Stop startup coroutine if it is running
            if (_startCo != null)
            {
                StopCoroutine(_startCo);
            }
            _startCo = null;

            if (_comms != null)
            {
                _comms.StopTracking(this);
                IsTracking = false;
            }
        }