Exemple #1
0
    public void Speak(string word)
    {
        GameObject text = Resources.Load("System/SpeakText") as GameObject;

        speakText = GameObject.Instantiate(text, transform);
        speakText.GetComponent <Text>().text = word;
        PerformSystem.FadeInText(speakText);
    }