mirror of
https://github.com/unanmed/HumanBreak.git
synced 2026-11-26 11:18:02 +08:00
修改加载进程
This commit is contained in:
1 parent
c7168ccfde
commit
c4e0b706f9
5 files changed
+179
-304
No files matched your search
Vendored
+6
@@ -1263,6 +1263,12 @@ interface Main extends MainData {
|
||||
*/
|
||||
init(mode: 'play' | 'editor', callback?: () => void): void;
|
||||
|
||||
/**
|
||||
* 加载一个脚本
|
||||
* @param src 脚本路径
|
||||
*/
|
||||
loadScript(src: string): Promise<void>;
|
||||
|
||||
/**
|
||||
* 动态加载js文件
|
||||
* @param dir 加载的js文件的目录
|
||||
|
||||
Reference in new issue
Block a user