Skip to main content

Class SceneServiceManager

Namespace: RealityCollective.ServiceFramework

Manages the services for a scene.

public class SceneServiceManager : MonoBehaviour

Inheritance

MonoBehaviour ← SceneServiceManager

Remarks

This component is used to manage the services for a scene. It will register the services with the Service Manager when the scene is loaded and unregister them when the scene is unloaded. This includes when the component is enabled and disabled, which will load and unload the services respectively. Additionally, the component can ONLY run if there is a Service Manager Instance present or loaded in the project, it cannot currently run standalone

Fields

DefaultGameObjectName

public const string DefaultGameObjectName = "SceneServiceManager"

Field Value

string