Click or drag to resize

SingletonManagerRegisterService Method (Type, SingletonBehaviour)

Registers a service

Namespace:  ImmerseSDK
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public static bool RegisterService(
	Type type,
	SingletonBehaviour serviceInstance
)

Parameters

type
Type: SystemType
Type to register this service as
serviceInstance
Type: ImmerseSDKSingletonBehaviour
The Type of the requested service.

Return Value

Type: Boolean
True if succeeded, otherwise false
See Also