void Start()
    {
        SpeakToMeForUnity.PrepareRecording();

        recordButton     = GetComponent <Button>();
        recordButtonText = transform.FindChild("Text").GetComponent <Text>();
    }
Exemple #2
0
    void Start()
    {
        SpeakToMeForUnity.PrepareRecording();

        recordButton     = GetComponent <Button>();
        frame            = transform.GetChild(0).gameObject.GetComponent <Image>();
        frame.fillAmount = 0;
    }