SaveSlot
Last updated
Last updated
This Button is used to create, load or delete games in the Save & Load Main Menu
profileID: Index of Save Slot that this Button is related to. Ensure no duplicated profileIDs are assigned.
saveSlotsMenu: Reference to
noDataContent: GameObject that gets enabled when the Save Load related to this Profile ID has no data.
hasDataContent: GameObject that gets enabled when the Save Load related to this Profile ID has valid data.
saveName: Text that displays the current saved scene of this Save Slot.
playerLevelText: Text that displays the Player level of this Save Slot.
coinsText: Text that displays the Current Currency of this Save Slot.
lastPlayedText: Text that displays last time this Save Slot was played.
clearDataButton: Button that, on clicked, clears this Save Slot Data. This action is assigned automatically.
GetProfileId()
Returns Profile ID ( String )
SetInteractable(bool interactable)
Sets Interactable State. If false, the Button cannot be pressed or hovered.
interactable: Boolean that controls the Interactable State of the Save Slot Button.