Instantiating DialogueSytstemTrigger and setting its values in code
Posted: Sat Oct 10, 2020 3:25 pm
Hello,
I am trying to setup a way to instantiate DialogueSystemTrigger component runtime and set its DialogueDatabase and Conversation via my custom ScriptableObject.
1. What are the good method or variables to set DialogueSystemTrigger component's DialogueDatabase and Conversation in code?
2. In my custom ScriptableObject, what is a good way to set Conversation from a specific DialogueDatabase that I've selected? So I can set it to DialogueSystemTrigger later in runtime.
I am trying to setup a way to instantiate DialogueSystemTrigger component runtime and set its DialogueDatabase and Conversation via my custom ScriptableObject.
1. What are the good method or variables to set DialogueSystemTrigger component's DialogueDatabase and Conversation in code?
2. In my custom ScriptableObject, what is a good way to set Conversation from a specific DialogueDatabase that I've selected? So I can set it to DialogueSystemTrigger later in runtime.