示例#1
0
        private Vector3 CalculateEndPoint()
        {
            var hit = XRDevice.isPresent ? VRUtils.RaycastVR() : Raycast();

            return(hit.collider ? hit.point : DefaultPos());
        }