using UnityEngine;
using Input;
using Interactions;
namespace Interactions
{
///
/// Interactable that immediately completes when the character arrives at the interaction point.
/// Useful for simple trigger interactions that don't require additional logic.
///
public class OneClickInteraction : InteractableBase
{
///
/// Override: Immediately completes the interaction with success when character arrives.
///
protected override void OnCharacterArrived()
{
CompleteInteraction(true);
}
}
}