protected override void OnStart() { base.OnStart(); _Visualization = PlayAreaVisualization.Create(); DontDestroyOnLoad(_Visualization.gameObject); _Visualization.Disable(); _Hand = GetComponent <HandAttachments>(); SetUpDetectors(); }
public static Quaternion GetHandRotation(HandAttachments hand) { return(hand.Palm.rotation); }
public static Vector3 GetHandPosition(HandAttachments hand) { return(hand.Palm.position); }
protected override void OnStart() { base.OnStart(); hand = GetComponent <HandAttachments>(); SetUpDetectors(); }