void StartDialog(GameObject peasant) { dialogTrigger = peasant.AddComponent <DialogTrigger>(); dialogTrigger.Spawn(); dialogTrigger.TriggerDialogue(); }
void StartDialog(GameObject peasant) { dialogTrigger = peasant.AddComponent <DialogTrigger>(); dialogTrigger.Spawn(); dialogTrigger.TriggerDialogue(); }