![]() |
Init(args)
Scripting Reference
|
A base class for a component that can specify the argument used to initialize an object which then gets wrapped by a Wrapper<TWrapped> component.
A base class for a component that can specify the five arguments used to initialize an object which then gets wrapped by a Wrapper<TWrapped> component.
A base class for a component that can specify the four arguments used to initialize an object which then gets wrapped by a Wrapper<TWrapped> component.
A base class for a component that can specify the three arguments used to initialize an object which then gets wrapped by a Wrapper<TWrapped> component.
A base class for a component that can specify the two arguments used to initialize an object which then gets wrapped by a Wrapper<TWrapped> component.
The TWrapped wrapped object gets created and injected to the TWrapper wrapper component during the Awake event.
After the object has been injected the WrapperInitializer<,,> is removed from the GameObject that holds it.
TWrapper | Type of the initialized wrapper component. |
TWrapped | Type of the object wrapped by the wrapper. |
TArgument | Type of the first argument received by the wrapped object. |
The TWrapped wrapped object gets created and injected to the TWrapper wrapper component during the Awake event.
After the object has been injected the WrapperInitializer<,,,> is removed from the GameObject that holds it.
TWrapper | Type of the initialized wrapper component. |
TWrapped | Type of the object wrapped by the wrapper. |
TFirstArgument | Type of the first argument received by the wrapped object. |
TSecondArgument | Type of the second argument received by the wrapped object. |
The TWrapped wrapped object gets created and injected to the TWrapper wrapper component during the Awake event.
After the object has been injected the WrapperInitializer<,,,,> is removed from the GameObject that holds it.
TWrapper | Type of the initialized wrapper component. |
TWrapped | Type of the object wrapped by the wrapper. |
TFirstArgument | Type of the first argument received by the wrapped object. |
TSecondArgument | Type of the second argument received by the wrapped object. |
TThirdArgument | Type of the third argument received by the wrapped object. |
The TWrapped wrapped object gets created and injected to the TWrapper wrapper component during the Awake event.
After the object has been injected the WrapperInitializer<,,,,,> is removed from the GameObject that holds it.
TWrapper | Type of the initialized wrapper component. |
TWrapped | Type of the object wrapped by the wrapper. |
TFirstArgument | Type of the first argument received by the wrapped object. |
TSecondArgument | Type of the second argument received by the wrapped object. |
TThirdArgument | Type of the third argument received by the wrapped object. |
TFourthArgument | Type of the fourth argument received by the wrapped object. |
The TWrapped wrapped object gets created and injected to the TWrapper wrapper component during the Awake event.
After the object has been injected the WrapperInitializer<,,,,,,> is removed from the GameObject that holds it.
TWrapper | Type of the initialized wrapper component. |
TWrapped | Type of the object wrapped by the wrapper. |
TFirstArgument | Type of the first argument received by the wrapped object. |
TSecondArgument | Type of the second argument received by the wrapped object. |
TThirdArgument | Type of the third argument received by the wrapped object. |
TFourthArgument | Type of the fourth argument received by the wrapped object. |
TFifthArgument | Type of the fifth argument received by the wrapped object. |
TWrapper | : | Wrapper<TWrapped> |
Protected Member Functions | |
abstract TWrapped | CreateWrappedObject (TArgument argument) |
Returns a new instance of TWrapped initializes using the provided arguments. More... | |
virtual void | InitWrapper (TWrapped wrappedObject) |
Intializes the target TWrapper with the provided wrappedObject wrapped object. More... | |
abstract TWrapped | CreateWrappedObject (TFirstArgument firstArgument, TSecondArgument secondArgument) |
Returns a new instance of TWrapped initializes using the provided arguments. More... | |
virtual void | InitWrapper (TWrapped wrappedObject) |
Intializes the target TWrapper with the provided wrappedObject wrapped object. More... | |
abstract TWrapped | CreateWrappedObject (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument) |
Returns a new instance of TWrapped initializes using the provided arguments. More... | |
virtual void | InitWrapper (TWrapped wrappedObject) |
Intializes the target TWrapper with the provided wrappedObject wrapped object. More... | |
abstract TWrapped | CreateWrappedObject (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument) |
Returns a new instance of TWrapped initializes using the provided arguments. More... | |
virtual void | InitWrapper (TWrapped wrappedObject) |
Intializes the target TWrapper with the provided wrappedObject wrapped object. More... | |
abstract TWrapped | CreateWrappedObject (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument) |
Returns a new instance of TWrapped initializes using the provided arguments. More... | |
virtual void | InitWrapper (TWrapped wrappedObject) |
Intializes the target TWrapper with the provided wrappedObject wrapped object. More... | |
![]() | |
abstract void | Init (TArgument argument) |
Provides the Component with the argument object that it depends on. More... | |
virtual void | OnReset () |
Reset state to default values. More... | |
virtual void | OnAwake () |
OnAwake is called when the script instance is being loaded during the Awake event after the Init function has finished. More... | |
abstract void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument) |
Provides the Component with the objects that it depends on. More... | |
virtual void | OnReset () |
Reset state to default values. More... | |
virtual void | OnAwake () |
OnAwake is called when the script instance is being loaded during the Awake event after the Init function has finished. More... | |
abstract void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument) |
Provides the Component with the objects that it depends on. More... | |
virtual void | OnReset () |
Reset state to default values. More... | |
virtual void | OnAwake () |
OnAwake is called when the script instance is being loaded during the Awake event after the Init function has finished. More... | |
abstract void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument) |
Provides the Component with the objects that it depends on. More... | |
virtual void | OnReset () |
Reset state to default values. More... | |
virtual void | OnAwake () |
OnAwake is called when the script instance is being loaded during the Awake event after the Init function has finished. More... | |
abstract void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument) |
Provides the Component with the objects that it depends on. More... | |
virtual void | OnReset () |
Reset state to default values. More... | |
virtual void | OnAwake () |
OnAwake is called when the script instance is being loaded during the Awake event after the Init function has finished. More... | |
Properties | |
Object | Target [get] |
Existing target instance to initialize, if any. More... | |
![]() | |
TArgument this[[NotNull] string | memberName [set] |
Assigns an argument received during initialization to a field or property by the memberName given name. More... | |
object this[[NotNull] string | memberName [set] |
Assigns an argument received during initialization to a field or property by the memberName given name. More... | |
![]() | |
Object | Target [get] |
The existing target instance that is getting initialized, if any. More... | |
Additional Inherited Members | |
![]() | |
void | Init (TArgument argument) |
Initializes the object with an object that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument) |
Initializes the object with two objects that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument) |
Initializes the object with three objects that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument) |
Initializes the object with four objects that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument) |
Initializes the object with five objects that it depends on. More... | |
![]() | |
void | Init (TArgument argument) |
Initializes the object with an object that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument) |
Initializes the object with two objects that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument) |
Initializes the object with three objects that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument) |
Initializes the object with four objects that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument) |
Initializes the object with five objects that it depends on. More... | |
![]() | |
void | Init (TArgument argument) |
Initializes the object with an object that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument) |
Initializes the object with two objects that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument) |
Initializes the object with three objects that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument) |
Initializes the object with four objects that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument) |
Initializes the object with five objects that it depends on. More... | |
![]() | |
void | Init (TArgument argument) |
Initializes the object with an object that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument) |
Initializes the object with two objects that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument) |
Initializes the object with three objects that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument) |
Initializes the object with four objects that it depends on. More... | |
void | Init (TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument) |
Initializes the object with five objects that it depends on. More... | |