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

20 lines
362 B
C#
Raw Normal View History

using System.Collections.Generic;
using UnityEngine;
namespace DDD
{
public enum InteractionType
{
Default
}
public interface IInteractable
{
bool CanInteract();
void OnInteracted(IInteractor interactor);
}
public interface IInteractor
{
void TryInteract(InteractionType interactionType);
}
}