10 lines
226 B
C#
10 lines
226 B
C#
using UnityEngine;
|
|
|
|
public interface IInteractable
|
|
{
|
|
void Interact(GameObject interactor);
|
|
bool CanInteract(GameObject interactor);
|
|
string GetInteractionPrompt();
|
|
void OnHighlight();
|
|
void OnUnhighlight();
|
|
} |