ProjectDDD/Assets/_DDD/_Scripts/GameEvent/IInteractable.cs
2025-07-17 17:55:45 +09:00

20 lines
362 B
C#

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