Unity Convai Transcript UI

I have 4 NPCs in my scene and would like each NPC to have it’s own text screen currently all NPCs share the text with each other.

BLUFF

one text screen per NPC

Hello,

The current demo UI is not designed for per NPC text UI, so you will need to customize the code to fit your use case.

A common approach is:

Spawn a separate Chat UI widget for each NPC. Store a reference to each NPC’s own chat widget. Use something like an “OnActiveNPCChanged” event to show/activate only the UI that belongs to the currently speaking NPC.

If you are not very comfortable with code, you can describe this behavior in detail to a coding assistant (or AI code tool) and have it help you generate the necessary logic.

Hi K3, Yeah that’s what I was thinking just hoped you had an easier way like leveraging the chat prefabs I will let you know what I come up with.

Lee

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.