[SOLVED] Adding outgoing links to DialogueEntry at runtime?
Posted: Sun Nov 03, 2024 10:07 am
Hi,
I'm adding dynamically outgoing links to a DialogueEntry at runtime via C#.
This works fine in Editor, until I tick "Instantiate Database" in the Dialogue Manager Gameobject.
I know that I alter the asset itself when "Instantiate Database" is NOT ticket, but why are all my runtime changes are ignored in Editor and Build if it IS ticked? I thought the game is using the instantiated database then?
Thanks!
Regards,
Flynn
EDIT: Oops, nevermind. I had an error in my script. It works now!
I'm adding dynamically outgoing links to a DialogueEntry at runtime via C#.
This works fine in Editor, until I tick "Instantiate Database" in the Dialogue Manager Gameobject.
I know that I alter the asset itself when "Instantiate Database" is NOT ticket, but why are all my runtime changes are ignored in Editor and Build if it IS ticked? I thought the game is using the instantiated database then?
Thanks!
Regards,
Flynn
EDIT: Oops, nevermind. I had an error in my script. It works now!