单向平台
This commit is contained in:
12
Assets/_Game/Scripts/Core/IDropThrough.cs
Normal file
12
Assets/_Game/Scripts/Core/IDropThrough.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
namespace BaseGames.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// 单向平台接口:挂载在平台上,允许角色从上方穿落。
|
||||
/// 定义在 BaseGames.Core 以避免 Player ↔ World 程序集循环引用。
|
||||
/// </summary>
|
||||
public interface IDropThrough
|
||||
{
|
||||
/// <summary>触发穿落:临时禁用碰撞器,使角色向下穿过平台。</summary>
|
||||
void TriggerDropThrough();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user