Add Custom Field Type in Dialogue Entry

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
juliusdays
Posts: 10
Joined: Thu Dec 20, 2018 4:41 am

Add Custom Field Type in Dialogue Entry

Post by juliusdays »

Hi, I want add new type of Fields in Dialogue Entry. Something like enum and sprite or audio selection. How to do that?
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Add Custom Field Type in Dialogue Entry

Post by Tony Li »

Hi,

Here's the manual section on defining custom field types: Custom Field Types

Briefly: Copy CustomFieldType_TemplateType.cs and fill in your code where the comments indicate.

Look at the example CustomFieldType_SceneType.cs for an example that uses an custom-defined enum.
Post Reply