12 lines
320 B
C#
12 lines
320 B
C#
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace Interaction.Conditions
|
||
|
|
{
|
||
|
|
public abstract class InteractConditionBehaviour : MonoBehaviour, IInteractCondition
|
||
|
|
{
|
||
|
|
public abstract bool CanInteract(GameObject interactor, out string failReason);
|
||
|
|
public abstract void OnInteractSucceeded(GameObject interactor);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|