fix(dialog): 兼容 load_scene 多余淡入时长参数
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -26,7 +26,7 @@ namespace AibisDream
|
||||
}
|
||||
|
||||
[YarnCommand("load_scene")]
|
||||
public static IEnumerator LoadScene(string sceneName)
|
||||
public static IEnumerator LoadScene(string sceneName, float _unusedFadeDuration = 0f)
|
||||
{
|
||||
HideDialog();
|
||||
yield return SceneLoader.Instance.LoadSceneAsync(sceneName);
|
||||
|
||||
Reference in New Issue
Block a user