mirror of
https://github.com/Gongxh0901/kunpolibrary
synced 2025-10-09 16:45:45 +00:00
兼容性修改
This commit is contained in:
@@ -78,7 +78,7 @@ public static getByUUID<T extends Asset>(uuid: string): T
|
||||
public static releasePath(path: string, bundlename: string = "resources"): void
|
||||
|
||||
/** 按 bundle 和 文件夹释放资源 */
|
||||
public static async releaseDir(dir: string, bundlename: string = "resources", asset: typeof Asset): Promise<void>
|
||||
public static releaseDir(dir: string, bundlename: string = "resources", asset: typeof Asset): Promise<boolean>
|
||||
|
||||
/** 按 uuid 释放资源 */
|
||||
public static releaseUUID(uuid: string): void
|
||||
|
@@ -199,7 +199,7 @@ export interface IPackageConfigRes {
|
||||
/**
|
||||
* 异步打开一个窗口 (如果UI包的资源未加载, 会自动加载 配合 WindowManager.initPackageConfig一起使用)
|
||||
*/
|
||||
public static async showWindow(windowName: string, userdata?: any): Promise<void>
|
||||
public static showWindow(windowName: string, userdata?: any): Promise<void>
|
||||
|
||||
/**
|
||||
* 打开一个窗口 (用于已加载过资源的窗口)
|
||||
|
Reference in New Issue
Block a user