Simple interactable rework

This commit is contained in:
Michal Pikulski
2025-10-31 13:50:08 +01:00
parent 095f21908b
commit 917230e10a
15 changed files with 1897 additions and 103 deletions

View File

@@ -46,7 +46,7 @@ namespace Dialogue
Debug.LogError("SpeechBubble component is missing on Dialogue Component");
}
var interactable = GetComponent<Interactable>();
var interactable = GetComponent<InteractableBase>();
if (interactable != null)
{
interactable.characterArrived.AddListener(OnCharacterArrived);