예제 #1
0
 protected override void Stop()
 {
     base.Stop();
     if (adapter != null)
     {
         adapter.Dispose();
         adapter = null;
     }
 }
예제 #2
0
 protected override void Stop()
 {
     base.Stop();
     if (iface != null)
     {
         iface.Dispose();
         iface = null;
     }
 }
예제 #3
0
 override protected void Start()
 {
     base.Start();
     if (adapter == null && !String.IsNullOrEmpty(usedPath))
     {
         adapter = new Location2DAdapter(
             OSVR.ClientKit.Location2DInterface.GetInterface(ClientKit.instance.context, usedPath));
     }
 }