void OnGUI()
    {
        GUI.depth = -10;

        if (GUI.Button(new Rect(25, 25, 125, 30), "Unity GUI"))
        {
            Dialoguer.events.ClearAll();
            unityDialogue.addDialoguerEvents();
            Dialoguer.StartDialogue(0);                 // Generic
        }

        if (GUI.Button(new Rect(25, 25 + 30 + 10, 125, 30), "Old School RPG"))
        {
            Dialoguer.events.ClearAll();
            oldRpgDialogue.addDialoguerEvents();
            Dialoguer.StartDialogue(DialoguerDialogues.OldSchoolRPG);                   // Old SchoolRPG
        }

        if (GUI.Button(new Rect(25, 25 + 60 + 20, 125, 30), "NextGen RPG"))
        {
            Dialoguer.events.ClearAll();
            nextGenRpgDialogue.addDialoguerEvents();
            Dialoguer.StartDialogue(2);                 // Old SchoolRPG
        }
    }
Esempio n. 2
0
 protected void Start()
 {
     Transport(Floor, PlayerPos);
     Dialoguer.Initialize();
     DialoguerSkin.addDialoguerEvents();
 }