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