Changes are not applied during gaming
Changes are not applied during gaming
Hello, I encountered some issues while using the dialogue system. When the game is running, I used code to modify the structure of the conversation, such as adding a link to a particular node. However, I found that these changes were not applied immediately. Instead, they only took effect after I restarted the game. Do I need to call some methods to make these changes be applied immediately within the game?
- Attachments
-
- img_v3_02k7_e92154a3-80f0-431f-9679-486857bee14g.jpg (115.4 KiB) Viewed 1112 times
Re: Changes are not applied during gaming
Here is a Link that I dynamically added during the game runtime using the code above. This link is displayed in red. Perhaps there is an issue with my method of adding it? I would be very grateful if you could help me identify the problem.
- Attachments
-
- img_v3_02k7_b320ba86-41ea-4d08-b2ce-a60b81676a3g.jpg (102.32 KiB) Viewed 1084 times
Re: Changes are not applied during gaming
Hello,
Tick the Dialogue Manager's Other Settings > Instantiate Database. Then access the database through the C# property DialogueManager.masterDatabase. Modify this copy.
Tick the Dialogue Manager's Other Settings > Instantiate Database. Then access the database through the C# property DialogueManager.masterDatabase. Modify this copy.
Re: Changes are not applied during gaming
Problem is solved,appreciate your help.
Re: Changes are not applied during gaming
Glad to help!