protected override void Stop() { base.Stop(); if(adapter != null) { adapter.Dispose(); adapter = null; } }
override protected void Start() { base.Start (); if (adapter == null && !String.IsNullOrEmpty(usedPath)) { adapter = new PoseAdapter( OSVR.ClientKit.PoseInterface.GetInterface(ClientKit.instance.context, usedPath)); } }