A journal button that works on every scene
Posted: Sat Jun 01, 2019 3:13 pm
Hello! I'd like to create a Journal button that works regardless of what scene you're in, but I'm not sure how to do that.
Here's my setup right now:
The problem is, when I go to a new scene in play mode, the onclick events of my journal button say "Missing."
I think that's because the Dialogue UI is donotdestroy, but my journal button isn't, so in the next scene, the prefab is referring to something that's not there like it used to be.
What's the "right" way to fix this? I'm thinking the easiest might be to take the Quest Log out of the Dialogue UI and move it to a non-donotdestroy part of the hierarchy.
Here's my setup right now:
The problem is, when I go to a new scene in play mode, the onclick events of my journal button say "Missing."
I think that's because the Dialogue UI is donotdestroy, but my journal button isn't, so in the next scene, the prefab is referring to something that's not there like it used to be.
What's the "right" way to fix this? I'm thinking the easiest might be to take the Quest Log out of the Dialogue UI and move it to a non-donotdestroy part of the hierarchy.