예제 #1
0
    // All public variables are assigned in editor

    void Start()
    {
        bool firstTime = garden.GetAllGardenSaves().Count == 0;

        if (firstTime)
        {
            mainUI.SetActive(false);
            swapUI.SetActive(false);
            newUI.SetActive(true);
        }
        else
        {
            mainUI.SetActive(true);
            swapUI.SetActive(false);
            newUI.SetActive(false);
        }

        UpdateSwapFiles();
    }