Ejemplo n.º 1
0
	// Use this for initialization
	void Start () {

        thisimage = GetComponent<RawImage>();
        sound = GetComponent<AudioSource>();
        dialoguescript = GameObject.Find("Character").transform.GetChild(1).GetComponent<VillageDialogue>();
        bgm = GameObject.Find("BGM").GetComponent<AudioSource>();
    }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     thisimage      = GetComponent <RawImage>();
     sound          = GetComponent <AudioSource>();
     dialoguescript = GameObject.Find("Character").transform.GetChild(1).GetComponent <VillageDialogue>();
     bgm            = GameObject.Find("BGM").GetComponent <AudioSource>();
 }