Exemplo n.º 1
0
        public override void UpdateTracker()
        {
            if (!enabled ||
                device == null ||
                trackerTransform == null)
            {
                return;
            }

            //device.position = trackerTransform.position;
            //device.rotation = trackerTransform.rotation;
            device.Update();

            status = neuronTransform.status;
            trackerTransform.gameObject.SetActive(status != Status.Unavailable);
        }
 public void Update()
 {
     device.Update();
 }