Scripting reference

Reference for the Convai Unity SDK C# scripting APIs — events, transcripts, audio control, and async operation patterns.

The Convai Unity SDK exposes two complementary approaches for C# integration. ConvaiSessionEventRelay, ConvaiCharacterEventRelay, and ConvaiTranscriptEventRelay are MonoBehaviours that wire events directly in the Inspector — no code required. For scripted reactions and programmatic control, the ConvaiEvents typed event hub and each component's C# API give full access from any script. Both approaches observe the same underlying SDK events and can be combined freely.

Next steps

Start with Session Events and Character Events to wire SDK events to your scene logic, then explore the ConvaiManager API for connection control and the Async Patterns page for consumption guidance.

Last updated

Was this helpful?