1 using System.Collections;
2 using System.Collections.Generic;
5 public class SpeechBubble : MonoBehaviour
8 GameObject dialogueManager;
12 public Transform[] speakers;
16 dialogue = dialogueManager.GetComponent<Dialogue>();
19 public void NextSpeaker()
21 transform.position = speakers[dialogue.index].position;