Using Dialogue System without Canvas UI?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
sebjschindler
Posts: 16
Joined: Sun Nov 17, 2019 12:07 am

Using Dialogue System without Canvas UI?

Post 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).
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using Dialogue System without Canvas UI?

Post 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.
sebjschindler
Posts: 16
Joined: Sun Nov 17, 2019 12:07 am

Re: Using Dialogue System without Canvas UI?

Post by sebjschindler »

Okay excellent. Thanks a ton for that info! I'll try it out soon.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using Dialogue System without Canvas UI?

Post by Tony Li »

Glad to help!
Post Reply