Ejemplo n.º 1
0
    //public Texture splashArt;

    /*
     * static float boxX = Screen.width/4.0f;
     * static float boxY = Screen.height/2.0f;
     * static float boxHeight = 250.0f;
     * static float boxWidth = 200.0f;
     * static float buttX = boxX = 20.0f;
     * static float buttWidth = 200.0f;
     */

    // Use this for initialization
    void Start()
    {
        // When the main level loads, check if there are any save files. If there are,
        // then enable the Load Game button, populate the list of save files in the UI,
        // and set Load Game to be the default selection instead of New Game
        saves = Saves.getSaveFiles();
        populateSaves();
        enableLoadButton();
    }