Property | Type | Description | |
---|---|---|---|
CustomLoadSetting | LoadSettingFuncDelegate | ||
SettingBytesFilter | SettingBytesFilterDelegate |
Method | 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
|
Method | Description | |
---|---|---|
LoadSetting ( string path ) : string |
Unity Resources.Load setting file in Resources folder
|
Method | 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 | |
return | byte[] |
public static Get ( string path, bool useCache = true ) : TableFile | ||
path | string | |
useCache | bool | |
return | TableFile |
protected LoadSetting ( string path ) : string | ||
path | string | |
return | string |
public static WatchSetting ( string path, System |
||
path | string | |
action | System |
|
return | void |
public static LoadSettingFuncDelegate CustomLoadSetting | ||
return | LoadSettingFuncDelegate |