private void DoConversationLine(ConversationLine conversationLine) { WaitConversationLock = false; ShowConversationPanel(); if (conversationLine != null) { if (conversationLine.GetType() == typeof(DialogueLine)) { DisplayDialogueLine((DialogueLine)conversationLine); } else if (conversationLine.GetType() == typeof(GamePauseLine)) { if (Cutscene) { IntroBehaviour.PlayPaused = ((GamePauseLine)conversationLine).Pause; } else { GameController.PlayPaused = ((GamePauseLine)conversationLine).Pause; } MoveOnConversation(); } else if (conversationLine.GetType() == typeof(DelegateLine)) { ((DelegateLine)conversationLine).OnReachLine(); MoveOnConversation(); } } else { StopConversation(); } }