public void SetStart(NPC npc, int index = 0) { DialoguePanel.SetActive(true); grafoIndice = index; currentNPC_Talk = npc.talk; currentNPC = npc; SetText(); }
void Start() { _dataQuest = GameObject.Find("QuestManager").GetComponent <dataQuest>(); _npc = GameObject.Find("QuestManager").GetComponent <NPC_Talk>(); cas = GameObject.Find("DataCenter").GetComponent <CheckActiveScreen>(); }