feat(ScreenGlitch): 完成基础的故障屏幕闪烁效果,并在重启时启用
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Script.Gameplay.Player
|
||||
|
||||
private void Start()
|
||||
{
|
||||
OnDeath += GameFlowManager.Instance.RestartGame;
|
||||
OnDeath += () => StartCoroutine(GameFlowManager.Instance.RestartGame());
|
||||
}
|
||||
|
||||
public void TakeDamage(int damage)
|
||||
|
||||
Reference in New Issue
Block a user