mirror of
https://github.com/Gongxh0901/kunpolibrary
synced 2025-12-08 13:49:15 +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
|
||||
|
||||
Reference in New Issue
Block a user