|
Init(args)
Scripting Reference
|
Represents an initializer that specifies how a service of type TService should be initialized.
Implemented by initializers of services that depend on one other service and are initialized manually via the InitTarget method.
| TService | The concrete type of the initialized service. |
| TArgument | Type of another service which the initialized service depends on. |
Public Member Functions | |
| TService | InitTarget (TArgument argument) |
| Initializes the service with another service that it depends on. | |
| object IServiceInitializer. | InitTarget (params object[] arguments) |
Returns a new instance of the service class, a UnityEngine.Awaitable<T> that returns a new instance of the service class asynchronously, or null. | |