16 lines
537 B
C#
16 lines
537 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace DDD
|
|
{
|
|
public interface IInteractionSubsystemObject<T> where T : Enum
|
|
{
|
|
T GetInteractionSubsystemType();
|
|
}
|
|
public interface IInteractionSubsystemSolver<T> where T : Enum
|
|
{
|
|
bool ExecuteInteractionSubsystem(IInteractor interactor, IInteractable interactable, ScriptableObject payloadSo = null);
|
|
bool CanExecuteInteractionSubsystem(IInteractor interactor = null, IInteractable interactable = null,
|
|
ScriptableObject payloadSo = null);
|
|
}
|
|
} |