示例#1
0
 //Este metodo es el primero que se llama al empezar el dialogo
 public void Begin(VIDE_Assign vide_Assign, GameObject npc, GameObject npcTxt)
 {
     Container_NPC = npc;
     Container_NPC.SetActive(false);
     textNpc          = npcTxt.GetComponent <Text>();
     npcSayLine       = npcTxt.GetComponent <SayLineText>();
     VD.OnNodeChange += UpdateUI;
     VD.OnEnd        += End;
     VD.BeginDialogue(vide_Assign);
 }