Class XRSubsystem<TSubsystemDescriptor>
Serves as the base class for all the subsystems in this package.
Implements
ISubsystem
  Inherited Members
      Subsystem<TSubsystemDescriptor>.SubsystemDescriptor
    
    
      Subsystem.Destroy()
    
    
    
    
    
    
    
    
  Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
[Obsolete("XRSubsystem has been deprecated. Use UnityEngine.SubsystemsImplementation.SubsystemWithProvider instead.", false)]
public abstract class XRSubsystem<TSubsystemDescriptor> : Subsystem<TSubsystemDescriptor>, ISubsystem where TSubsystemDescriptor : ISubsystemDescriptorType Parameters
| Name | Description | 
|---|---|
| TSubsystemDescriptor | The Subsystem Descriptor for the Subsystem. | 
Properties
running
true if the Subsystem has been Started and is currently running,
otherwise false.
Declaration
public override sealed bool running { get; }Property Value
| Type | Description | 
|---|---|
| bool | 
Overrides
UnityEngine.Subsystem.running
  Methods
OnDestroy()
Declaration
protected override sealed void OnDestroy()Overrides
UnityEngine.Subsystem.OnDestroy()
  
  OnDestroyed()
Invoked when Destroy
is called. This method will not be invoked more than once, even if Destroy is
called multiple times.
Declaration
protected abstract void OnDestroyed()OnStart()
Declaration
protected abstract void OnStart()OnStop()
Declaration
protected abstract void OnStop()Start()
Starts the subsystem.
Declaration
public override sealed void Start()Overrides
UnityEngine.Subsystem.Start()
  
  Stop()
Stops the subsystem.
Declaration
public override sealed void Stop()Overrides
UnityEngine.Subsystem.Stop()
  Implements
      UnityEngine.ISubsystem