Exemplo n.º 1
0
    void Start()
    {
        MAS_WordEditing tempMaster = (MAS_WordEditing)COM_Director.GetMaster("MAS_WordEditing");

        model         = (MOD_WordEditing)tempMaster.GetModel("MOD_WordEditing");
        controller    = (CON_WordEditing)tempMaster.GetController("CON_WordEditing");
        activeButtons = 0;
        CleanUpScroll();
        EditOrAdd();
        CleanUpScroll();
        DisplayGallery();
        SetUpWordTags();
        wordTagsOriginal = wordTags;

        clip             = controller.GetExistingAudioClip();
        sourceAudio.clip = clip;



        if (Microphone.devices.Length < 0)
        {
            micName = Microphone.devices[0];
        }
        else
        {
            Debug.Log("Could not find any microphone devices");
        }

        if (PlayerPrefs.GetInt("isTutorial") == 1)
        {
            tutorialPanel.SetActive(true);
        }
    }