示例#1
0
 public void InitDialog(ConversationNode node)
 {
     if (_activeBox != null && _actualNode != null && _actualNode.IsAnwerNode())
     {
         _activeBox.Deactivate();
     }
     _actualNode = node;
     if (node.CharacterId == 0)
     {
         DialogBoxLeft.Init(node);
     }
     else if (node.CharacterId == 1)
     {
         DialogBoxRight.Init(node);
     }
 }