Class OnGameInitializeAttribute
The function will be called when game initialize.
Examples
[OnGameInitialize]
internal static void ExampleFunction () { }
Constructors
OnGameInitializeAttribute(int)
The function will be called when game initialize.
Declaration
public OnGameInitializeAttribute(int order = 0)
Parameters
Type | Name | Description |
---|---|---|
int | order | Function with smaller order will be called earlier |
Examples
[OnGameInitialize]
internal static void ExampleFunction () { }