浏览代码

Remove redundant type arguments

/4.1
Tim Mowrer 4 年前
当前提交
42b64d3c
共有 1 个文件被更改,包括 13 次插入13 次删除
  1. 26
      Assets/Scripts/UX/CheckAvailableFeatures.cs

26
Assets/Scripts/UX/CheckAvailableFeatures.cs


void Start()
{
var planeDescriptors = new List<XRPlaneSubsystemDescriptor>();
SubsystemManager.GetSubsystemDescriptors<XRPlaneSubsystemDescriptor>(planeDescriptors);
SubsystemManager.GetSubsystemDescriptors(planeDescriptors);
SubsystemManager.GetSubsystemDescriptors<XRRaycastSubsystemDescriptor>(rayCastDescriptors);
SubsystemManager.GetSubsystemDescriptors(rayCastDescriptors);
SubsystemManager.GetSubsystemDescriptors<XRFaceSubsystemDescriptor>(faceDescriptors);
SubsystemManager.GetSubsystemDescriptors(faceDescriptors);
SubsystemManager.GetSubsystemDescriptors<XRImageTrackingSubsystemDescriptor>(imageDescriptors);
SubsystemManager.GetSubsystemDescriptors(imageDescriptors);
SubsystemManager.GetSubsystemDescriptors<XREnvironmentProbeSubsystemDescriptor>(envDescriptors);
SubsystemManager.GetSubsystemDescriptors(envDescriptors);
SubsystemManager.GetSubsystemDescriptors<XRAnchorSubsystemDescriptor>(anchorDescriptors);
SubsystemManager.GetSubsystemDescriptors(anchorDescriptors);
SubsystemManager.GetSubsystemDescriptors<XRObjectTrackingSubsystemDescriptor>(objectDescriptors);
SubsystemManager.GetSubsystemDescriptors(objectDescriptors);
SubsystemManager.GetSubsystemDescriptors<XRParticipantSubsystemDescriptor>(participantDescriptors);
SubsystemManager.GetSubsystemDescriptors(participantDescriptors);
SubsystemManager.GetSubsystemDescriptors<XRDepthSubsystemDescriptor>(depthDescriptors);
SubsystemManager.GetSubsystemDescriptors(depthDescriptors);
SubsystemManager.GetSubsystemDescriptors<XROcclusionSubsystemDescriptor>(occlusionDescriptors);
SubsystemManager.GetSubsystemDescriptors(occlusionDescriptors);
SubsystemManager.GetSubsystemDescriptors<XRCameraSubsystemDescriptor>(cameraDescriptors);
SubsystemManager.GetSubsystemDescriptors(cameraDescriptors);
SubsystemManager.GetSubsystemDescriptors<XRSessionSubsystemDescriptor>(sessionDescriptors);
SubsystemManager.GetSubsystemDescriptors(sessionDescriptors);
SubsystemManager.GetSubsystemDescriptors<XRHumanBodySubsystemDescriptor>(bodyTrackingDescriptors);
SubsystemManager.GetSubsystemDescriptors(bodyTrackingDescriptors);
if(planeDescriptors.Count > 0 && rayCastDescriptors.Count > 0)
{

正在加载...
取消
保存