Page 1 of 1

Add Custom Field Type in Dialogue Entry

Posted: Thu Jan 03, 2019 5:38 am
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?

Re: Add Custom Field Type in Dialogue Entry

Posted: Thu Jan 03, 2019 9:32 am
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.