Git Product home page Git Product logo

unity-tools's Introduction

c# Unity 工具集

AddBuildMapWindow.cs 为 c# AssetBundle Build ,基于 http://blog.csdn.net/lyh916/article/details/51015156 这一版本改造,补充 5.3.x 版本的 Variant 属性,并可以自由选择平台等属性,可以自由灵活的打包 AssetBundle 并生成文件名 | MD5 格式 TXT 文件,是为临时或测试场景提供的自由打包工具。


IOUtils.cs 为 IO 工具,负责读写本地文件,包括从指定路径删除一个文件、从指定路径文件中读取一个字符串、在指定子文件夹不存在的情况下在路径下创建一个子文件夹、删除指定文件夹及其下所有文件、返回指定路径下的所有文件名等功能


CsvUtils.cs 为 csv 工具(需要配合 IOUtils.cs 使用),单纯为了个人使用习惯设计,可以使用数据库语法查询表格:

  • Use(string db) 方法可以选择数据库,参数 db 为文件夹名,存在这个文件夹名就会从文件夹下读取,不存在则会创建。只要输入文件夹名即可,完整路径会由 IOUtils.cs 补齐。
  • Select(string id) 方法和数据库一样是选择表。参数 id 为 cvs 文件名。
  • Where(string id1, string id2, bool rowFirest = true) 方法为获得想要的单元格中的数据。当 rowFirest 为真时参数 id1 为行名,id2 为列名,为假时反之。
  • 由于一般情况下不存在修改 CSV 的需求,所以没有 update、insert 等操作。

unity-tools's People

Contributors

joey1258 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

ly774508966

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.