18 lines
517 B
C#
18 lines
517 B
C#
namespace Interactions
|
|
{
|
|
/// <summary>
|
|
/// Interactable that immediately completes when the character arrives at the interaction point.
|
|
/// Useful for simple trigger interactions that don't require additional logic.
|
|
/// </summary>
|
|
public class OneClickInteraction : InteractableBase
|
|
{
|
|
/// <summary>
|
|
/// Main interaction logic: Simply return success.
|
|
/// </summary>
|
|
protected override bool DoInteraction()
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
}
|