Snapshot before project reorganization
This commit is contained in:
@@ -73,7 +73,7 @@ namespace Unheimlich.Interactions.Dialogues
|
||||
}
|
||||
}
|
||||
|
||||
public override void Interact(GameObject interactor)
|
||||
public override void Interact()
|
||||
{
|
||||
if (DialogueManager.Instance == null)
|
||||
return;
|
||||
|
||||
@@ -48,7 +48,7 @@ namespace Unheimlich.Interactions.Core
|
||||
if (interactAction != null && interactAction.WasPressedThisFrame())
|
||||
{
|
||||
if (_currentInteractable != null)
|
||||
_currentInteractable.Interact(transform.parent.gameObject);
|
||||
_currentInteractable.Interact();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,6 @@ namespace Unheimlich.Interactions.Core
|
||||
[Tooltip("Text displayed when the player looks at the object")]
|
||||
public string InteractionText = "Interact";
|
||||
|
||||
public abstract void Interact(GameObject gameObject);
|
||||
public abstract void Interact();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user