Class XRSubsystem<TSubsystemDescriptor>
Serves as the base class for all the subsystems in this package.
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public abstract class XRSubsystem<TSubsystemDescriptor> : Subsystem<TSubsystemDescriptor>, ISubsystem where TSubsystemDescriptor : ISubsystemDescriptor
Type 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 sealed override bool running { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Overrides
Methods
OnDestroy()
Declaration
protected sealed override void OnDestroy()
Overrides
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 sealed override void Start()
Overrides
Stop()
Stops the subsystem.
Declaration
public sealed override void Stop()