Adventurer prefabs #13

Merged
JanGross merged 4 commits from adventurers into master 2023-07-09 11:20:15 +02:00
Showing only changes of commit 68fdc026de - Show all commits

View File

@@ -4,7 +4,6 @@ using UnityEngine;
public class AdventurerInteractable : MonoBehaviour
{
public DialogueController dialogueController;
public int m_spawnQuestID = 0;
[SerializeField] private string m_name = string.Empty;
@@ -24,6 +23,6 @@ public class AdventurerInteractable : MonoBehaviour
{
PlayerController.Instance.cameraMovement = false;
CharacterData character = CharacterManager.Instance.GetCharacterDataByName(m_name);
dialogueController.DisplayCharacterText(character);
GameManager.Instance.dialogueController.DisplayCharacterText(character);
}
}