Exemplo n.º 1
0
    void checkToRecord()
    {
        if (isRecording)
        {
            return;
        }

        if (inputSongTrack.text == "")
        {
            statusLabel.text = "Song File Required. Ready.";
            return;
        }

        if (inputSongName.text == "")
        {
            statusLabel.text = "Song Name Required. Ready.";
            return;
        }

        if (FileManagement.CheckExistingFile("Songs/" + inputSongName.text))
        {
            statusLabel.text = "Song Name Already Exists. Ready.";
            return;
        }

        countdownRecord = true;
    }