Beispiel #1
0
        protected override void OnStart()
        {
            base.OnStart();
            _Visualization = PlayAreaVisualization.Create();
            DontDestroyOnLoad(_Visualization.gameObject);
            _Visualization.Disable();

            _Hand = GetComponent <HandAttachments>();

            SetUpDetectors();
        }
Beispiel #2
0
 public static Quaternion GetHandRotation(HandAttachments hand)
 {
     return(hand.Palm.rotation);
 }
Beispiel #3
0
 public static Vector3 GetHandPosition(HandAttachments hand)
 {
     return(hand.Palm.position);
 }
Beispiel #4
0
 protected override void OnStart()
 {
     base.OnStart();
     hand = GetComponent <HandAttachments>();
     SetUpDetectors();
 }