fix(save): 读档前恢复 timeScale 并用 unscaledTime 淡入
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -65,14 +65,14 @@ namespace AibisDream.UI
|
||||
: picName;
|
||||
}
|
||||
|
||||
public IEnumerator FadeInAsync(float duration = 1)
|
||||
public IEnumerator FadeInAsync(float duration = 1, bool useUnscaledTime = false)
|
||||
{
|
||||
return _fadeImage.FadeInAsync(duration);
|
||||
return _fadeImage.FadeInAsync(duration, useUnscaledTime);
|
||||
}
|
||||
|
||||
public IEnumerator FadeOutAsync(float duration = 1)
|
||||
public IEnumerator FadeOutAsync(float duration = 1, bool useUnscaledTime = false)
|
||||
{
|
||||
return _fadeImage.FadeOutAsync(duration);
|
||||
return _fadeImage.FadeOutAsync(duration, useUnscaledTime);
|
||||
}
|
||||
|
||||
public void FadeInSync(float duration = 1)
|
||||
|
||||
Reference in New Issue
Block a user