多轮审查评估
This commit is contained in:
@@ -42,12 +42,7 @@ namespace BaseGames.Core
|
||||
{
|
||||
yield return new WaitForSeconds(_deathAnimDuration);
|
||||
yield return new WaitForSeconds(_deathScreenDelay);
|
||||
|
||||
// 局部订阅确认事件,不依赖类级 bool 字段
|
||||
bool confirmed = false;
|
||||
var sub = _onDeathScreenConfirmed?.Subscribe(() => confirmed = true);
|
||||
yield return new WaitUntil(() => confirmed);
|
||||
sub?.Dispose();
|
||||
// 确认等待由 GameManager.DeathFlow 统一处理,此处仅负责动画延迟
|
||||
}
|
||||
|
||||
public IEnumerator StartRespawnCoroutine()
|
||||
|
||||
Reference in New Issue
Block a user