|
Init(args)
Scripting Reference
|
◆ RemoveFrom< TService >() [3/3]
Unregisters a service with the defining type TService that has been available to a limited set of clients. If the provided instance is available to clients Clients.Everywhere then the ServiceChanged<TService>.listeners event will be raised.
This must be an interface that the service implement, a base type that the service derives from, or the exact type of the service. This must also be a component type. If you want to unregister a service that is not a component, or want to unregister a component service using an interface that it implements, you can use the overload that lets you provide a Component type reference separately.
|