Reply by raghuvanshagarwal | 2024-10-07 08:43:59
hi <@1199860761518936146> you can leverage the onSubmit event on the inputfield to call HandleInputSubmission, for this please make the following changes
- Headover to
ConvaiPlayerInteractionManager
class and makeHandleInputSubmission
a public method - Create a script and attach it to Inputfield
- Subscribe to onSubmit event and call
- call ConvaiNPCManager.Instance.SetActiveConvaiNPC(, false)
- call ConvaiNPCManager.Instance.activeConvaiNPC.playerInteractionManager.HandleInputSubmission()
Hope this helps, we will fix this issue in next release