[Feature suggestion] Variable groups in editor

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
Abelius
Posts: 318
Joined: Fri Jul 21, 2017 12:45 pm

[Feature suggestion] Variable groups in editor

Post by Abelius »

Hi there,

The more I use DS the more I'm relying on it to manage a lot of aspects of my game. And one of those things is variables as a whole.

Only problem is that they're growing and growing... and the Variables list is getting really long.

So... what if we could have variable groups? It would be really nice if we could assign them to collapsible categories, so if I have dozens of boolean flags that I almost never touch, only create and forget, we could put them in there and "close" the category so we could scroll the whole list more quickly.

I don't see any problems if this only would work on the editor, as I understand implementing a comparable behavior on dropdown lists would be harder for you.

Thank you!
Unity 2019.4.9f1
Dialogue System 2.2.15
User avatar
Tony Li
Posts: 22061
Joined: Thu Jul 18, 2013 1:27 pm

Re: [Feature suggestion] Variable groups in editor

Post by Tony Li »

I will do my best to add this in version 1.7.8. I agree that this would be a very useful feature. (Version 1.7.7 is feature locked and, apart from some articy:draft updates, just needs to go through testing, so it should be out soon.)

I plan to implement it using the part of the variable name before a "." as the group name. So if you have these variables:
  • Global.Weather
  • Global.HasApocalypseHappened
  • Village.GeneralMood
  • Village.NumVillagersGreeted
Then the groups will be "Global" and "Village".
Post Reply