Files
BABA_YAGA/Assets/Scripts/Interface/IInteractable.cs
2026-06-14 23:55:20 +07:00

19 lines
443 B
C#

using UnityEngine;
namespace OnlyScove.Scripts
{
public interface IInteractable
{
string InteractionPrompt { get; }
// Thực hiện tương tác
void OnInteract(GameObject interactor);
// Xử lý khi người chơi nhìn vào vật thể
void OnHoverEnter();
// Xử lý khi người chơi rời mắt khỏi vật thể
void OnHoverExit();
}
}