Init(args)
Scripting Reference
Loading...
Searching...
No Matches

◆ Init()

void Sisus.Init.ScriptableObject< TArgument >.Init ( TArgument argument)
abstractprotected

Provides the ScriptableObject with the object that it depends on.

You can think of the Init method as a parameterized constructor alternative for the ScriptableObject.

Init is called at the beginning of the Awake event function when the script is being loaded, or when services become ready (whichever occurs later).

Parameters
argumentobject that this ScriptableObject depends on.

Implements Sisus.Init.IInitializable< TArgument >.