|
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 five other services and are initialized manually via the InitTarget method.
| TService | The concrete type of the initialized service. |
| TFirstArgument | Type of the first service which the initialized service depends on. |
| TSecondArgument | Type of the second service which the initialized service depends on. |
| TThirdArgument | Type of the third service which the initialized service depends on. |
| TFourthArgument | Type of the fourth service which the initialized service depends on. |
| TFifthArgument | Type of the fifth service which the initialized service depends on. |
Public Member Functions | |
| TService | InitTarget (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument) |
| Initializes the service with five other services 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. | |