public void EndTalk() { ai.AiStateMachine.SetTrigger("Continue"); panel.OnEndTalk -= EndTalk; ai.UnlockTalk(); }