Simple interactable rework
This commit is contained in:
@@ -18,12 +18,12 @@ namespace Interactions
|
||||
[Tooltip("Whether the interaction flow should wait for this action to complete")]
|
||||
public bool pauseInteractionFlow = true;
|
||||
|
||||
protected Interactable parentInteractable;
|
||||
protected InteractableBase parentInteractable;
|
||||
|
||||
protected virtual void Awake()
|
||||
{
|
||||
// Get the parent interactable component
|
||||
parentInteractable = GetComponentInParent<Interactable>();
|
||||
parentInteractable = GetComponentInParent<InteractableBase>();
|
||||
|
||||
if (parentInteractable == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user