Search found 54 matches

by xyztankman
Tue Jan 25, 2022 7:04 pm
Forum: Dialogue System for Unity
Topic: Save System Between Scenes
Replies: 19
Views: 3495

Re: Save System Between Scenes

Hey Tony, got it to work by using the script methods! Confirmed that it is saving them to the slots, I also have data from other scripts outside of the Dialogue Manager that I would like to save to the same slot. Is there a direct spot where I can store those variables as well?
by xyztankman
Thu Jan 20, 2022 5:10 pm
Forum: Dialogue System for Unity
Topic: Save System Between Scenes
Replies: 19
Views: 3495

Re: Save System Between Scenes

If you play either of the scene above individually, directly in play mode, they'll work fine. However, say you start in Scene A. Then you move to Scene B. Now these GameObjects exist: Active Runtime Scene(s): Dialogue Manager A Button B: points to Dialogue Manager B Since Button B was configured to...
by xyztankman
Thu Jan 20, 2022 3:22 pm
Forum: Dialogue System for Unity
Topic: Save System Between Scenes
Replies: 19
Views: 3495

Re: Save System Between Scenes

Hey Tony, pretty much got this working now, only one last hangup. I have the Dialogue Manager as a prefab now that survives scene changes, but when the scenes change it looks like my buttons lose reference to the scripts on the Dialogue Manager. I have the prefab in all scenes, and it has the same s...
by xyztankman
Wed Jan 12, 2022 3:47 pm
Forum: Dialogue System for Unity
Topic: Save System Between Scenes
Replies: 19
Views: 3495

Re: Save System Between Scenes

Awesome, just put it together on how it could work.

Thanks Tony, I'll probably be back with more questions eventually!
by xyztankman
Wed Jan 12, 2022 3:18 pm
Forum: Dialogue System for Unity
Topic: Save System Between Scenes
Replies: 19
Views: 3495

Re: Save System Between Scenes

Yes, although I recommend writing some kind of dedicated MusicManager script. You can put this script on the Dialogue Manager or some other GameObject that survives scene changes. It could have methods such as PlayMainMenuTheme(), PlayIntroTheme(), PlayDefaultGameplayTheme(), etc. Then you can writ...
by xyztankman
Wed Jan 12, 2022 2:22 pm
Forum: Dialogue System for Unity
Topic: Save System Between Scenes
Replies: 19
Views: 3495

Re: Save System Between Scenes

Hi, Putting a Dialogue Manager in each scene is optional. It makes it easier to playtest since you can enter play mode directly from any scene. I recommend making a single Dialogue Manager prefab (for example, a prefab variant of the base Dialogue Manager prefab) and dropping that prefab into your ...
by xyztankman
Wed Jan 12, 2022 1:10 pm
Forum: Dialogue System for Unity
Topic: Save System Between Scenes
Replies: 19
Views: 3495

Re: Save System Between Scenes

Thanks Tony, I think I'll do that. I was looking over the DemoScenes, so I should still have a dialogue manager in each scene right? Then it will replace them as you said before. Should I also have a separate canvas for my UI in that case? Right now, I had it all under the Dialogue Manager Canvas so...
by xyztankman
Wed Jan 12, 2022 11:43 am
Forum: Dialogue System for Unity
Topic: Save System Between Scenes
Replies: 19
Views: 3495

Re: Save System Between Scenes

Hi, DemoScene1 and DemoScene2 demonstrate saving data across scene changes. At runtime, the Dialogue Manager MainMenuScene will survive scene changes and replace the Dialogue Manager that was in MainScene at design time. (Unless you've intentionally unticked its Don't Destroy On Load and Only Allow...
by xyztankman
Wed Jan 12, 2022 10:54 am
Forum: Dialogue System for Unity
Topic: Save System Between Scenes
Replies: 19
Views: 3495

Save System Between Scenes

Hey Tony, hope you're having a good day, I was having some issues setting up the Save system to work between scenes. I was wondering if you had an example project like you do for a couple other systems? The setup I have now is that I have a dialogue manager in each scene. I'm trying to set up a &quo...
by xyztankman
Tue Dec 14, 2021 2:03 pm
Forum: Dialogue System for Unity
Topic: Can't get SMS dialogue to display for NPC
Replies: 15
Views: 1693

Re: Can't get SMS dialogue to display for NPC

Tony Li wrote: Tue Dec 14, 2021 1:55 pm Glad to help!
xyztankman wrote: Tue Dec 14, 2021 1:02 pmSo I'm planning on using the text messaging for visual clues too, it is possible to have jpgs displayed in the dialogue text area?
Yes. Switch to TextMesh Pro (see TextMesh Pro Support) and use <sprite> tags.
Perfect, thanks a bunch Tony!