Class SubsystemLifecycleManager<TSubsystem, TSubsystemDescriptor, TProvider>
A base class for subsystems whose lifetime is managed by a MonoBehaviour
.
Inheritance
Inherited Members
Namespace: UnityEngine .XR.ARFoundation
Assembly: solution.dll
Syntax
public class SubsystemLifecycleManager<TSubsystem, TSubsystemDescriptor, TProvider> : MonoBehaviour where TSubsystem : SubsystemWithProvider<TSubsystem, TSubsystemDescriptor, TProvider>, new() where TSubsystemDescriptor : SubsystemDescriptorWithProvider<TSubsystem, TProvider> where TProvider : SubsystemProvider<TSubsystem>
Type Parameters
Name | Description |
---|---|
TSubsystem | The Subsystem which provides this manager data. |
TSubsystemDescriptor | The |
TProvider | The provider associated with this subsystem. |
Properties
Name | Description |
---|---|
descriptor | The descriptor for the subsystem. |
subsystem | Get the |
Methods
Name | Description |
---|---|
Ensure |
Called by derived classes to initialize the subsystem is initialized before use |
Get |
Returns the active |
On |
Invoked after calling Start on it the Subsystem.
The subsystem is not |
On |
Invoked after creating the subsystem and before calling Start on it.
The subsystem is not |
On |
Destroys the |
On |
Stops the |
On |
Creates the |