示例#1
0
 public void Destroy()
 {
     if (_streamEngineTracker != null)
     {
         _streamEngineTracker.Destroy();
         _streamEngineTracker = null;
     }
 }
示例#2
0
        public void Destroy()
        {
            if (_streamEngineTracker != null)
            {
                _streamEngineTracker.Destroy();
                _streamEngineTracker = null;
            }

            if (_hmdToWorldTransformer != null)
            {
                _hmdToWorldTransformer.Destroy();
                _hmdToWorldTransformer = null;
            }
        }
        public void Destroy()
        {
            if (_streamEngineTracker != null)
            {
                _streamEngineTracker.Destroy();
            }

            if (_hmdRuntime != null)
            {
                _hmdRuntime.Destroy();
            }

            _streamEngineTracker = null;
            _hmdRuntime          = null;
        }