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