feat(): 大量更新
This commit is contained in:
9
Assets/Script/Gameplay/Interface/IInteractable.cs
Normal file
9
Assets/Script/Gameplay/Interface/IInteractable.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
namespace Share
|
||||
{
|
||||
public interface IInteractable
|
||||
{
|
||||
string GetInteractPrompt(); // 返回提示文字,例如“按E打开门”
|
||||
void Interact(GameObject interactor); // 当玩家交互时触发
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user