Beispiel #1
0
    public void ClickLoadButton()
    {
        loadPanel.SetActive(true);

        var saveNames = SaveUtility.GetSaveNames();

        saveSlot1.GetComponentInChildren <Text>().text = saveNames[0];
        saveSlot2.GetComponentInChildren <Text>().text = saveNames[1];
        saveSlot3.GetComponentInChildren <Text>().text = saveNames[2];
    }
Beispiel #2
0
    private void Awake()
    {
        saveMenu.SetActive(false);

        var saveNames = SaveUtility.GetSaveNames();

        saveSlot1.text = saveNames[0];
        saveSlot2.text = saveNames[1];
        saveSlot3.text = saveNames[2];
    }