Class XRSubsystem<TSubsystemDescriptor>
Serves as the base class for all the subsystems in this package.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public abstract class XRSubsystem<TSubsystemDescriptor> : Subsystem<TSubsystemDescriptor>, ISubsystem where TSubsystemDescriptor : ISubsystemDescriptor
Type Parameters
Name | Description |
---|---|
TSubsystemDescriptor | The Subsystem Descriptor for the Subsystem. |
Properties
Name | Description |
---|---|
running |
|
Methods
Name | Description |
---|---|
OnDestroy() | Destroys the subsystem. If the subsystem is running, Stop() is also called. |
OnDestroyed() | Invoked when Destroy
is called. This method will not be invoked more than once, even if |
OnStart() | |
OnStop() | |
Start() | Starts the subsystem. |
Stop() | Stops the subsystem. |