ProjectDDD/Assets/_DDD/_Scripts/GameEvent/InteractionSubsystem.cs

16 lines
537 B
C#
Raw Normal View History

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);
}
}