Skip to content

A Unity editor tool for exporting Excel based on tabtoy.

License

Notifications You must be signed in to change notification settings

imagicbell/UExcelReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UExcelReader

Tabtoy 是一个广受欢迎的跨平台Excel导出工具,支持导出多种格式的数据,并且可以在配置表中定义对象。于是我将其移植到Unity项目中,并且增加了可视化编辑,以及加载方法,使其在Unity中更方便使用。

使用方法

可以参考Example,用Unity打开。

  1. UnityPackage.unitypackage导入项目中。

  2. 点击UExcelReader/Open Edit Window打开编辑页面,如下:

功能

  1. 数据导出支持:bytes, json, lua;

  2. 支持多个具有相同格式的配置表share同一个类,见Example中的ParentFAQConfig。

  3. 数据加载在ConfigManager.cs,使用方法:

      //1. 游戏开始时,在下载完assetbundle后,加载
      ConfigManager.Instance.Load();
    
      //2. 应用层获取配置数据
      WordSleepConfig cfg = ConfigManager.Instance.GetConfig<WordSleepConfig>();
      Debug.Log(">>>>>> config: " + cfg.WordSleep.Count);

限制

暂时只支持Mac,后续会支持windows.

特别感谢

Tabtoy

About

A Unity editor tool for exporting Excel based on tabtoy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published