Big script cleanup. Remove the examples from Ropes' external package

This commit is contained in:
Michal Pikulski
2025-09-06 21:01:54 +02:00
parent 045bd7966e
commit d3c6b838b4
134 changed files with 719 additions and 26298 deletions

View File

@@ -0,0 +1,19 @@
using UnityEngine;
using UnityEngine.Events;
/// <summary>
/// Abstract base class for interaction requirements. Defines success/failure events and the TryInteract contract.
/// </summary>
public abstract class InteractionRequirementBase : MonoBehaviour
{
[Header("Events")]
public UnityEvent OnSuccess;
public UnityEvent OnFailure;
/// <summary>
/// Attempts to perform the interaction requirement with the given follower.
/// </summary>
/// <param name="follower">The follower attempting the interaction.</param>
/// <returns>True if the interaction was successful, false otherwise.</returns>
public abstract bool TryInteract(FollowerController follower);
}