升级XR插件版本
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
using UnityEngine.XR.Interaction.Toolkit;
|
||||
|
||||
using BigSpace.Logic;
|
||||
using BigSpace.XRCore.Event;
|
||||
|
||||
@@ -10,14 +10,14 @@ public class SetHandRay : MonoBehaviour
|
||||
public GameObject LeftRya;
|
||||
public GameObject RigthRay;
|
||||
|
||||
XRRayInteractor xRRayInteractor_Left;
|
||||
UnityEngine.XR.Interaction.Toolkit.Interactors.XRRayInteractor xRRayInteractor_Left;
|
||||
LineRenderer lineRenderer_Left;
|
||||
XRInteractorLineVisual xRInteractorLineVisual_Left;
|
||||
UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals.XRInteractorLineVisual xRInteractorLineVisual_Left;
|
||||
SortingGroup sortingGroup_Left;
|
||||
|
||||
XRRayInteractor xRRayInteractor_Right;
|
||||
UnityEngine.XR.Interaction.Toolkit.Interactors.XRRayInteractor xRRayInteractor_Right;
|
||||
LineRenderer lineRenderer_Right;
|
||||
XRInteractorLineVisual xRInteractorLineVisual_Right;
|
||||
UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals.XRInteractorLineVisual xRInteractorLineVisual_Right;
|
||||
SortingGroup sortingGroup_Right;
|
||||
|
||||
|
||||
@@ -25,14 +25,14 @@ public class SetHandRay : MonoBehaviour
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
xRRayInteractor_Left = LeftRya.GetComponent<XRRayInteractor>();
|
||||
xRRayInteractor_Left = LeftRya.GetComponent<UnityEngine.XR.Interaction.Toolkit.Interactors.XRRayInteractor>();
|
||||
lineRenderer_Left = LeftRya.GetComponent<LineRenderer>();
|
||||
xRInteractorLineVisual_Left = LeftRya.GetComponent<XRInteractorLineVisual>();
|
||||
xRInteractorLineVisual_Left = LeftRya.GetComponent<UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals.XRInteractorLineVisual>();
|
||||
sortingGroup_Left = LeftRya.GetComponent<SortingGroup>();
|
||||
|
||||
xRRayInteractor_Right = RigthRay.GetComponent<XRRayInteractor>();
|
||||
xRRayInteractor_Right = RigthRay.GetComponent<UnityEngine.XR.Interaction.Toolkit.Interactors.XRRayInteractor>();
|
||||
lineRenderer_Right = RigthRay.GetComponent<LineRenderer>();
|
||||
xRInteractorLineVisual_Right = RigthRay.GetComponent<XRInteractorLineVisual>();
|
||||
xRInteractorLineVisual_Right = RigthRay.GetComponent<UnityEngine.XR.Interaction.Toolkit.Interactors.Visuals.XRInteractorLineVisual>();
|
||||
sortingGroup_Right = RigthRay.GetComponent<SortingGroup>();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user