C# Class KEngine.Modules.SettingModuleBase

带有惰式加载的数据表加载器基类, 不带具体的加载文件的方法,需要自定义。 主要为了解耦,移除对UnityEngine命名空间的依赖使之可以进行其它.net平台的兼容 使用时进行继承,并注册LoadSettingMethod自定义的
显示文件 Open project: mr-kelly/KEngine

Public Methods

Method Description
GetTableFile ( string path, bool useCache = false ) : TableFile

通过SettingModule拥有缓存与惰式加载

Protected Methods

Method Description
LoadSetting ( string path ) : string

You can custom method to load file.

Method Details

GetTableFile() public method

通过SettingModule拥有缓存与惰式加载
public GetTableFile ( string path, bool useCache = false ) : TableFile
path string
useCache bool 是否缓存起来?还是单独创建新的
return TableFile

LoadSetting() protected abstract method

You can custom method to load file.
protected abstract LoadSetting ( string path ) : string
path string
return string