Page 1 of 1

Dialog Actor and animator

Posted: Thu Nov 24, 2022 10:48 am
by tabtaste
Hey.

At what point will the dialog manager lock für dialog actors in scene ? I have some troble with load scene asynchron. Where can i put the dialog actors? Inder dialog manager gameobject ?

Can i go without dialog actors? In my project every actors have his own dialog panel. But hiw can i Adress the panel and actor without actors gamepbject in scene

Re: Dialog Actor and animator

Posted: Thu Nov 24, 2022 5:15 pm
by Tony Li
Hi,

If the panels are part of the main dialogue UI, such as these:

subtitlePanels.png
subtitlePanels.png (7.48 KiB) Viewed 312 times

then you can use [panel=#] markup tags or the SetPanel() sequencer command without needing a GameObject for the actor.

If the subtitle panel is separate from the dialogue UI -- such as a cartoon bubble over the actor's head, then you will need a GameObject for the actor. Add a Dialogue Actor component, and assign the subtitle panel to it. The Dialogue Actor will register itself with the Dialogue System in OnEnable and unregister itself in OnDisable.