This commit is contained in:
2026-06-14 23:55:20 +07:00
parent d731f962a3
commit 132def45c7
16 changed files with 380 additions and 77 deletions

View File

@@ -1,8 +1,18 @@
using UnityEngine;
namespace OnlyScove.Scripts
{
public interface IInteractable
{
string InteractionPrompt { get; }
// void OnInteract(PlayerStateMachine player);
// 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();
}
}
}