Class OnSavingSlotChangedAttribute
The function will be called after user change the saving slot. Universe.BuiltIn.CurrentSavingSlot is the new value when this function is called.
Examples
[OnSavingSlotChanged]
internal static void ExampleFunction () { }
Constructors
OnSavingSlotChangedAttribute(int)
The function will be called after user change the saving slot. Universe.BuiltIn.CurrentSavingSlot is the new value when this function is called.
Declaration
public OnSavingSlotChangedAttribute(int order = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| int | order | Function with smaller order will be called earlier |
Examples
[OnSavingSlotChanged]
internal static void ExampleFunction () { }