Page 1 of 1

Instantiate Prefabs with TMP Quest Tracker

Posted: Mon Oct 15, 2018 1:04 am
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

Re: Instantiate Prefabs with TMP Quest Tracker

Posted: Mon Oct 15, 2018 10:10 am
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.

Re: Instantiate Prefabs with TMP Quest Tracker

Posted: Mon Oct 15, 2018 7:33 pm
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

Re: Instantiate Prefabs with TMP Quest Tracker

Posted: Mon Oct 15, 2018 7:46 pm
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.

Re: Instantiate Prefabs with TMP Quest Tracker

Posted: Mon Oct 15, 2018 7:48 pm
by nathanj
100% sure it's something I've done to it.

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

Nathan