C# Class KEngine.Modules.SettingModuleBase

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

Méthodes publiques

Méthode Description
GetTableFile ( string path, bool useCache = false ) : TableFile

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

Méthodes protégées

Méthode Description
LoadSetting ( string path ) : string

You can custom method to load file.

Method Details

GetTableFile() public méthode

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

LoadSetting() protected abstract méthode

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