Search found 5 matches

by davidisak
Sun May 10, 2020 3:56 pm
Forum: Dialogue System for Unity
Topic: How To: Add Custom Fields
Replies: 16
Views: 2041

Re: How To: Add Custom Fields

Thanks a lot for the super quick response and help. Big 5 star there from me on the asset store! :)
by davidisak
Sun May 10, 2020 3:55 pm
Forum: Dialogue System for Unity
Topic: How To: Add Custom Fields
Replies: 16
Views: 2041

Re: How To: Add Custom Fields

I just found the problem now! I put the script under an Editor folder under Assets/ now instead and not at the same place as the template and that solved it. My bad! Thought it had to be in an Editor folder somwhere under the Plugin folder.
by davidisak
Sun May 10, 2020 3:28 pm
Forum: Dialogue System for Unity
Topic: How To: Add Custom Fields
Replies: 16
Views: 2041

Re: How To: Add Custom Fields

hmm okey, the mission type example is not working correctly for me. It appears as a type that I can choose correctly but I don't get any dropdown to select from in the value as shown in the previous image. So my process is: I create a script called CustomFieldType_MissionType.cs in the same folder a...
by davidisak
Sun May 10, 2020 2:52 pm
Forum: Dialogue System for Unity
Topic: How To: Add Custom Fields
Replies: 16
Views: 2041

Re: How To: Add Custom Fields

Yep, it's in the same Editor folder as the CustomFieldType_TemplateType.cs. I can see that none of the overriden draw functions seems to be called.
by davidisak
Sun May 10, 2020 2:17 pm
Forum: Dialogue System for Unity
Topic: How To: Add Custom Fields
Replies: 16
Views: 2041

Re: How To: Add Custom Fields

Hi! I'm trying to make a CustomFieldType from an enum and have some problems with its appearance in the editor. Currently I've just copied your MissionType code example but I don't get any dropdown list to select from in the editor, it only shows textfields as can be seen in the attached image. Ther...