기술 자료

Unity Engine

Unity Engine

activeSubsystem

The active display subsystem, if any. If no display subsystem is active, this property value is null.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public static XRDisplaySubsystem activeSubsystem { get; }

Remarks

A helper property that references the first display subsystem instance in the list returned by SubsystemManager.GetSubsystems() or
null
if the list is empty.
Your code should use this property instead of XRDisplaySubsystem.activeSubsystemOrStub.