using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using HoloToolkit.Unity;

public class SpeechExample : MonoBehaviour {

    [TextArea]
    [SerializeField]
    string textToVocalizeOnAppStart = "";
    TextToSpeech tts;

    // A basic example of text to speech. The text to be spoken can be modified within the editor
    void Start () {
        tts = gameObject.GetComponent<TextToSpeech>();
        tts.StartSpeaking(textToVocalizeOnAppStart);
	}
	
}
