Beispiel #1
0
 private void OnOpenPalmDownwardEnd()
 {
     if (_Showing)
     {
         VRLog.Info("Stop!");
         _LastShow = Time.unscaledTime;
         _Visualization.Disable();
         _Showing = false;
     }
 }
Beispiel #2
0
        protected override void OnStart()
        {
            base.OnStart();
            _Visualization = PlayAreaVisualization.Create();
            DontDestroyOnLoad(_Visualization.gameObject);
            _Visualization.Disable();

            _Hand = GetComponent <HandAttachments>();

            SetUpDetectors();
        }