private static IEnumerator UnloadLoadScene() { // 原本的彈窗動畫是1秒,多加0.5秒以確保它回到LoadScene yield return(new WaitForSeconds(1.5f)); _ = sceneLoadScene.Invoke("OnClickClose"); }
public static void LoadReservePostfix(Manager.Scene __instance, Manager.Scene.Data data) { if (isLoading && data.levelName == "StudioNotification") { isLoading = false; sceneLoadScene.Invoke("OnClickClose"); KK_StudioAutoCloseLoadingSceneWindow.Logger.LogDebug("Auto close load scene window"); } }