单向平台

This commit is contained in:
2026-05-21 11:44:01 +08:00
parent 94113a9c1b
commit 67e2d3a8ff
7 changed files with 107 additions and 14 deletions

View File

@@ -0,0 +1,12 @@
namespace BaseGames.Core
{
/// <summary>
/// 单向平台接口:挂载在平台上,允许角色从上方穿落。
/// 定义在 BaseGames.Core 以避免 Player ↔ World 程序集循环引用。
/// </summary>
public interface IDropThrough
{
/// <summary>触发穿落:临时禁用碰撞器,使角色向下穿过平台。</summary>
void TriggerDropThrough();
}
}