Documentation

Unity Engine

Download Unity

Unity Engine

activeSubsystem

The active display subsystem, if any. If no display subsystem is active, this property value is null.
Read time 1 minuteLast updated a month ago

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.