> For the complete documentation index, see [llms.txt](https://cowsinss-organization.gitbook.io/save-and-load-add-on/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cowsinss-organization.gitbook.io/save-and-load-add-on/content/03.-content/03.4-main-menu/saveslot.md).

# SaveSlot

*This Button is used to create, load or delete games in the Save & Load Main Menu*

***

### PROFILE

* <mark style="color:purple;">profileID</mark>: Index of Save Slot that this Button is related to. Ensure no duplicated profileIDs are assigned.
* <mark style="color:purple;">saveSlotsMenu</mark>: Reference to [SaveSlotsMenu](/save-and-load-add-on/content/03.-content/03.4-main-menu/saveslotsmenu.md)

### CONTENT

* <mark style="color:purple;">noDataContent</mark>: GameObject that gets enabled when the Save Load related to this Profile ID has no data.
* <mark style="color:purple;">hasDataContent</mark>: GameObject that gets enabled when the Save Load related to this Profile ID has valid data.
* <mark style="color:purple;">saveName</mark>: Text that displays the current saved scene of this Save Slot.
* <mark style="color:purple;">playerLevelText</mark>: Text that displays the Player level of this Save Slot.
* <mark style="color:purple;">coinsText</mark>: Text that displays the Current Currency of this Save Slot.
* <mark style="color:purple;">lastPlayedText</mark>:  Text that displays last time this Save Slot was played.

### CLEAR DATA BUTTON

* <mark style="color:purple;">clearDataButton</mark>: Button that, on clicked, clears this Save Slot Data. This action is assigned automatically.

***

### Functions | SaveSlot.cs&#x20;

> <mark style="color:green;">GetProfileId()</mark>
>
> Returns Profile ID ( String )

> <mark style="color:green;">SetInteractable(bool interactable)</mark>
>
> Sets Interactable State. If false, the Button cannot be pressed or hovered.
>
> * <mark style="color:purple;">interactable</mark>: Boolean that controls the Interactable State of the Save Slot Button.
