Page 1 of 1
Using Dialogue System without Canvas UI?
Posted: Mon Aug 03, 2020 2:38 pm
by sebjschindler
Hello. I have a simple question. Is it possible to use the dialogue system's functionality without requiring access to a Canvas UI component? I ask because I like the system, yet the current project I'm developing only requires text via a TextMeshPro object (not UI).
Re: Using Dialogue System without Canvas UI?
Posted: Mon Aug 03, 2020 3:23 pm
by Tony Li
Hi,
Sure! The Dialogue System happily works with any script that implements a simple C# interface called
IDialogueUI. The StandardDialogueUI system is just one implementation. The Dialogue System ships with other implementations for NGUI, UnityGUI, 2D Toolkit, and more. Some studios have written their own implementations for custom installation spaces, for speech recognition + text-to-speech systems, etc.
The Dialogue System / Templates / Scripts folder has a commented starter template script that you can use to write your own implementation.
Re: Using Dialogue System without Canvas UI?
Posted: Mon Aug 03, 2020 4:10 pm
by sebjschindler
Okay excellent. Thanks a ton for that info! I'll try it out soon.
Re: Using Dialogue System without Canvas UI?
Posted: Mon Aug 03, 2020 4:45 pm
by Tony Li
Glad to help!