Méthode | Description | |
---|---|---|
CallMainThread ( System.Action action ) : void |
异步线程回到主线程进行回调
|
|
ClearConsoleLog ( ) : void |
清除Console log
|
|
EachDirectoryFiles ( string dirPath, EachDirectoryDelegate eachCallback ) : void |
递归一个目录所有文件,callback
|
|
ExecuteCommand ( string command, string workingDirectory = null ) : void |
执行批处理命令
|
|
FindAllPublicTypes ( |
从所有的程序集收集指定类型,public, 包括继承的
|
|
FindStrMatchesInFolderTexts ( string sourceFolder, |
在指定目录中搜寻字符串并返回匹配}
|
|
GetCleanPath ( string path ) : string |
将丑陋的windows路径,替换掉\字符
|
Méthode | Description | |
---|---|---|
AddFileNamesToList ( string sourceDir, List |
||
KEditorUtils ( ) : System | ||
OnEditorUpdate ( ) : void |
捕获Unity Editor update事件
|
public static CallMainThread ( System.Action action ) : void | ||
action | System.Action | |
Résultat | void |
public static EachDirectoryFiles ( string dirPath, EachDirectoryDelegate eachCallback ) : void | ||
dirPath | string | |
eachCallback | EachDirectoryDelegate | |
Résultat | void |
public static ExecuteCommand ( string command, string workingDirectory = null ) : void | ||
command | string | |
workingDirectory | string | |
Résultat | void |
public static FindAllPublicTypes ( |
||
findType | ||
Résultat | IList |
public static FindStrMatchesInFolderTexts ( string sourceFolder, |
||
sourceFolder | string | |
searchWord | ||
fileFilter | bool>.Func | |
Résultat | List |
public static GetCleanPath ( string path ) : string | ||
path | string | |
Résultat | string |