private void OnDestroy() { if (_comms != null) { _comms.StopTracking(this); } }
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; } }
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; } }
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; } }
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; } }
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; } }