修复灵灯bug
This commit is contained in:
@@ -121,12 +121,13 @@ namespace IndianOceanAssets.Engine2_5D
|
||||
if (_recalled) return;
|
||||
_recalled = true;
|
||||
|
||||
// 1. 立即取消事件订阅 + 通知系统(回收灵灯名额)
|
||||
// 1. 先触发回收事件(通知系统返还名额),再取消订阅
|
||||
OnLanternRecalled?.Invoke();
|
||||
|
||||
if (_ownerSystem != null)
|
||||
{
|
||||
_ownerSystem.UnregisterLantern(this);
|
||||
}
|
||||
OnLanternRecalled?.Invoke();
|
||||
OnLanternRecalled = null;
|
||||
|
||||
// 2. 禁用碰撞体,开始渐隐
|
||||
|
||||
Reference in New Issue
Block a user