Documentation

Unity Engine


User Manual

Script Reference

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 13 days 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 _activeSubsystemOrStub.