Git Product home page Git Product logo

exceltounity-master's Introduction

ExcelToUnity

一个为Unity3D编写的插件,可以快速地将Excel文件转换为JSON、CSV和XML,方便在游戏过程中处理各种Excel文件。本项目参考了excel2json,在此表示感谢。

如何使用ExcelToUnity

将本项目中的Source文件夹直接复制到Unity3D项目中即可,Unity3D的菜单栏将会增加一个Plugins的菜单项,通过此菜单项的ExcelTools打开插件窗口。在项目资源中选中Excel文件后,点击插件窗口上的"转换"按钮即可!

使用ExcelToUnity的默认约束条件

  • Excel数据表默认以第一行作为字段
  • Excel工作表默认以第一个工作表为主
  • 目前支持utf-8和gb2312两种字符编码类型

Excel文件转换示例

假设Excel文件定义如下: Name Level Description Skill Time 南小媛 12 《虚拟偶像》新兴偶像 跳舞 2019出道 初音未来 20 《日本声优》女主角 唱歌 2007出道 末末酱 18 《MOMO》 唱歌、搞笑 2018出道 一蝉小和尚 24 《一蝉小和尚》配角 搞笑、心灵鸡汤 2019出道

则经过转换后的JSON、CSV和Xml文件具体看项目中的文件。

exceltounity-master's People

Contributors

haili1234 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.