Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SubsystemWithProvider

A subsystem is initialized from a SubsystemDescriptorWithProvider for a given subsystem (Session, Plane, Face, etc.) and provides an interface to interact with that given subsystem until it is Destroyed. After a subsystem is created, it can be Started or Stopped to turn on and off functionality and preserve performance. The base type for the subsystem only exposes this functionality; this class is designed to be a base class for derived classes that expose more functionality specific to a given subsystem. Note: Initializing a second subsystem from the same subsystem descriptor will return a reference to the existing subsystem, because only one subsystem is currently allowed for a single subsystem provider.
Read time 1 minuteLast updated 4 days ago

Definition

public abstract class SubsystemWithProvider : ISubsystem

Properties

Property

Description

runningWhether or not the subsystem is running.

Methods

Method

Description

DestroyDestroys this instance of a subsystem.
StartStarts an instance of a subsystem.
StopStops an instance of a subsystem.