|
Init(args)
Scripting Reference
|
◆ AddFor< TService >() [1/2]
Registers a service with the defining type TService 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 same argument should be passed when removing the instance. |