Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.75 KB

README.en.md

File metadata and controls

49 lines (39 loc) · 1.75 KB

Config Manager

Fast & Easy Config Manage Tool

Read this in other languages: 简体中文 English
logo

Features

  1. Fast Parse: Parse in Editor
  2. Formats: txt,csv,json,xml,xls,xlsx...
  3. No size: all scripts in editor
  4. Intelligent: Auto select type
  5. Reduce errors: "."operation

Quick Start

Edit Configs:


Sheet
Json
Xml

In Editor:

  1. Press menu "Window/Config Manager";
  2. Set paths;
  3. Press "output"


In Runtime:

  1. Call Deserialize();
  2. Call Get() use them.
SerializableSet set = Resources.Load<SerializableSet>("SerializableSet");
Deserializer.Deserialize(set);

/* 与加载解耦,不依赖加载方式
AssetBundle bundle = AssetBundle.LoadFromFile(Application.streamingAssetsPath + "/config.ab");
set = bundle.LoadAsset<SerializableSet>("SerializableSet");
Deserializer.Deserialize(set);
*/
        
MonsterSheet monsterSheet = MonsterSheet.Get(210102)
print(monsterSheet.name);

Example:

https://github.com/RickJiangShu/ConfigManager-Example