Свойство | Type | Description | |
---|---|---|---|
CustomLoadSetting | LoadSettingFuncDelegate | ||
SettingBytesFilter | SettingBytesFilterDelegate |
Méthode | Description | |
---|---|---|
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
|
Méthode | Description | |
---|---|---|
LoadSetting ( string path ) : string |
Unity Resources.Load setting file in Resources folder
|
Méthode | Description | |
---|---|---|
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 | |
Résultat | byte[] |
public static Get ( string path, bool useCache = true ) : TableFile | ||
path | string | |
useCache | bool | |
Résultat | TableFile |
protected LoadSetting ( string path ) : string | ||
path | string | |
Résultat | string |
public static WatchSetting ( string path, System |
||
path | string | |
action | System |
|
Résultat | void |
public static LoadSettingFuncDelegate CustomLoadSetting | ||
Résultat | LoadSettingFuncDelegate |