Page 1 of 1

[Solved] Small Question: Dialogue System Controller -> Instantiate Prefab

Posted: Wed Jul 11, 2018 1:22 pm
by Japtor
Hi all,

A small question.

Inside the Dialogue System Controller -> Instantiate Prefab... Is it really necessary to leave all the prefabs there or you can directly assign them to the canvas and remove the script? Is there any consequence, benefit, etc?

Thanks,
Javier.

Re: Small Question: Dialogue System Controller -> Instantiate Prefab

Posted: Wed Jul 11, 2018 1:48 pm
by Tony Li
Hi Javier,

You can directly assign them and remove the script.

The Instantiate Prefabs script allows you to keep the Dialogue Manager and other prefabs (dialogue UI, quest log window, etc.) as separate prefabs. (Unity doesn't officially support nested prefabs yet.) This way you can edit the quest log window prefab, for example, without having to update the Dialogue Manager prefab. It's just a matter of preference.

[Solved] Small Question: Dialogue System Controller -> Instantiate Prefab

Posted: Thu Jul 12, 2018 6:04 am
by Japtor
Hi Tony,

Ok! Thanks for solving my question :)

Regards,
Javier.