Exemplo n.º 1
0
 protected override void Stop()
 {
     base.Stop();
     if (adapter != null)
     {
         adapter.Dispose();
         adapter = null;
     }
 }
Exemplo n.º 2
0
 override protected void Start()
 {
     base.Start();
     if (adapter == null && !String.IsNullOrEmpty(usedPath))
     {
         adapter = new EyeTracker3DAdapter(
             OSVR.ClientKit.EyeTracker3DInterface.GetInterface(
                 ClientKit.instance.context, usedPath));
     }
 }