Skip to main content

Class ServiceProvidersProfile

Namespace: RealityCollective.ServiceFramework.Definitions

Service configuration profile, for loading services for the entire project.

public class ServiceProvidersProfile : BaseServiceProfile<IService>, IServiceProfile<IService>

Inheritance​

ScriptableObject ← BaseProfile ← BaseServiceProfile<IService> ← ServiceProvidersProfile

Implements​

IServiceProfile<IService>

Inherited Members​

BaseServiceProfile<IService>.ServiceConfigurations, BaseServiceProfile<IService>.AddConfiguration(IServiceConfiguration<IService>), BaseProfile.ParentProfile

Extension Methods​

BaseProfileInspectorExtensions.CopySerializedValues(BaseProfile, BaseProfile), BaseProfileInspectorExtensions.CreateNewProfileInstance(BaseProfile, SerializedProperty, Type, bool), ValidateConfiguration.ValidateService<IService>(BaseServiceProfile<IService>, Type[], IServiceConfiguration<IService>[], bool)

Properties​

DoNotDestroyServiceManagerOnLoad​

Ensure that the Service Manager Instance is not destroyed on scene change.

public bool DoNotDestroyServiceManagerOnLoad { get; }

Property Value​

bool

InitializeOnPlay​

The service manager will only initialize services in the Editor when it is running in play mode. The default is to always be active and validating service configuration.

public bool InitializeOnPlay { get; }

Property Value​

bool

SceneServiceConfiguration​

The scene based service configuration.

public SceneServiceConfiguration[] SceneServiceConfiguration { get; }

Property Value​

SceneServiceConfiguration[]