Instantiate Prefabs with TMP Quest Tracker

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
nathanj
Posts: 303
Joined: Sat May 28, 2016 12:30 am

Instantiate Prefabs with TMP Quest Tracker

Post by nathanj »

Hi Tony,

Trying to set up a scene using the Instantiate Prefabs component but I'm running into an issue with the Text Mesh Pro Quest Tracker.

The Quest tracker needs to be added to the game object with the Dialogue Manager component but it needs to retain connections to the TMP Quest Log Window, which isn't possible when its a prefab that is instantiated at run-time.

Thanks again,
Nathan
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: Instantiate Prefabs with TMP Quest Tracker

Post by Tony Li »

Hi Nathan,

The TextMesh Pro Quest Tracker doesn't need connections to the quest log window. They both pull straight from the Dialogue System's internal data. What's happening that isn't working?

BTW, have you considered using the Standard UI Quest Tracker? It supports UI Text or TextMesh Pro.
User avatar
nathanj
Posts: 303
Joined: Sat May 28, 2016 12:30 am

Re: Instantiate Prefabs with TMP Quest Tracker

Post by nathanj »

Hi Tony,

Ya, I was having some issues with the customised Text Mesh Pro DS UI I had brought into a new build. I was being lazy because I didn't want to have to redesign the UI windows but I see now that it would be a good thing to do going forward.

I did what you suggested and loaded the Basic UI windows through the Instantiate Prefab component and every thing works exactly as expected.

Thanks again,
Nathan
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: Instantiate Prefabs with TMP Quest Tracker

Post by Tony Li »

Hi Nathan,

I'm still not sure why the TMP tracker needs connections to the TMP quest log window unless it's maybe something custom in your setup. Anyway, I'm glad to hear the basic UI works, and if you don't mind setting it up in the Standard UI system, I think you'll find it easier to work with down the road.
User avatar
nathanj
Posts: 303
Joined: Sat May 28, 2016 12:30 am

Re: Instantiate Prefabs with TMP Quest Tracker

Post by nathanj »

100% sure it's something I've done to it.

Good to do an update every once in a while ;)

Nathan
Post Reply