Character and Player API
Reference for ConvaiCharacter and ConvaiPlayer, including properties, methods, and events for session control, speech, audio, and attention.
Accessing components
// Via Inspector field (recommended)
[SerializeField] private ConvaiCharacter _character;
// Via manager ownership list
var character = ConvaiManager.ActiveManager?.Characters[0];
// Via manager active conversation target
var active = ConvaiManager.ActiveManager?.ActiveConversationCharacter;
// Player
var player = ConvaiManager.ActiveManager?.Player;ConvaiCharacter
ConvaiCharacterProperties
Property
Type
Access
Description
ConvaiConfigSourceMode enum
ConvaiConfigSourceMode enumValue
Description
Session control
Method
Returns
Description
Speech control
Method
Returns
Description
Remote audio control
Method
Returns
Description
Dynamic context and narrative
Method
Returns
Description
Attention and actions
Method
Returns
Description
ConvaiCharacter events
ConvaiCharacter eventsEvent
Signature
Fires When
ConvaiPlayer
ConvaiPlayerProperties
Property
Type
Access
Description
Methods
Method
Returns
Description
ConvaiPlayer events
ConvaiPlayer eventsEvent
Signature
Fires When
Usage examples
Example 1 — Connect a character and gate on ready state
Example 2 — Per-character audio toggle in a multi-NPC scene
Example 3 — Text-input mode for accessibility
Troubleshooting
Symptom
Likely Cause
Fix
Next steps
Last updated
Was this helpful?