I want to have a dialogue play when the character reaches the game over screen but I’m not sure exactly how to do that. This is the script I have:
using UnityEngine;
using System.Collections;
public class deathscreen : MonoBehaviour {
private bool bShowGUI = false;
void Awake(){
// You must initialize Dialoguer before using it!
Dialoguer.Initialize();
}
void Start(){
Dialoguer.StartDialogue (8);
}
}
I get no errors when running the script but the dialogue does not appear when I play the game.