Свойство | Тип | Описание | |
---|---|---|---|
CustomLoadSetting | LoadSettingFuncDelegate | ||
SettingBytesFilter | SettingBytesFilterDelegate |
Метод | Описание | |
---|---|---|
DefaultLoadSetting ( string path ) : byte[] |
Default load setting strategry, editor load file, runtime resources.load
|
|
Get ( string path, bool useCache = true ) : TableFile |
Quick method to get TableFile from instance
|
|
WatchSetting ( string path, System |
Watch the setting file, when changed, trigger the delegate
|
Метод | Описание | |
---|---|---|
LoadSetting ( string path ) : string |
Unity Resources.Load setting file in Resources folder
|
Метод | Описание | |
---|---|---|
GetFileSystemPath ( string path ) : string | ||
LoadSettingFromFile ( string path ) : byte[] |
Load setting in file system using `File` class
|
|
LoadSettingFromResources ( string path ) : byte[] | ||
LoadSettingFromStreamingAssets ( string path ) : byte[] |
KEngine 3 后,增加同步loadStreamingAssets文件,统一只用StreamingAsset路径
|
|
SettingModule ( ) : System |
public static DefaultLoadSetting ( string path ) : byte[] | ||
path | string | |
Результат | byte[] |
public static Get ( string path, bool useCache = true ) : TableFile | ||
path | string | |
useCache | bool | |
Результат | TableFile |
protected LoadSetting ( string path ) : string | ||
path | string | |
Результат | string |
public static WatchSetting ( string path, System |
||
path | string | |
action | System |
|
Результат | void |
public static LoadSettingFuncDelegate CustomLoadSetting | ||
Результат | LoadSettingFuncDelegate |