Number of scenarios
Posted: Fri Mar 09, 2018 3:45 pm
Hi, I would like to ask how I am able to know the number of scenarios my database has via code?
Support and discussion forum for Pixel Crushers products
https://www.pixelcrushers.com:443/phpbb/
https://www.pixelcrushers.com:443/phpbb/viewtopic.php?t=1320
Code: Select all
using PixelCrushers.DialogueSystem;
...
int numberOfQuests = DialogueManager.MasterDatabase.quests.Count;
Code: Select all
int numberOfConversations = DialogueManager.MasterDatabase.conversations.Count;