I would like to retrieve in my C# script the ID of the responses that are actually shown on screen.
I was able to get a Response array using this :
Code: Select all
Response[] responses = DialogueManager.CurrentConversationState.pcResponses;
Code: Select all
public void OnConversationResponseMenu(Response[] responses) { }
Just to explain a bit why I need the responses ID, it is to quickly link them to a corresponding assets, like an image or a sound stored in Resources folder. There is so much Conversations and Nodes in my database, I want to set it up so I don't have to do the links manualy.
Thanks in advance for your help.