// Start is called before the first frame update void Awake() { if (!inst) { inst = this; } dialoguePosition = GetComponent <DialoguePosition>(); dialogueText = GetComponent <DialogueText>(); dialogueArt = GetComponent <DialogueArt>(); dialogueSound = GetComponent <DialogueSound>(); audioSource = GetComponent <AudioSource>(); }
public static void SetSoundType(DialogueSound ds) { m_instance.nextSoundType = ds; }