ドキュメント

Unity Engine

Unity Engine

activeSubsystem

The active display subsystem, if any. If no display subsystem is active, this property value is null.
読み終わるまでの所要時間 1 分最終更新 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.