3 namespace HKI.Core.Init
10 [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
15 if(initializer != null)
18 Debug.LogError(
"InitializerLoader.OnBeforeSceneLoadRuntimeMethod(): Couldn't load the Initializer! Probably there is no Initializer in a Resource folder.");
void Init()
This function will be called at the start of the game. It will initialize special system like setting...
This class loads the Initializer from the resource folder and starts the initialization process...
This Initializer controlls the initialization of anything that implements the IInit interface...
static void OnBeforeSceneLoadRuntimeMethod()