# UnityExcelImporter_Luban **Repository Path**: NuoYanRuoShui/UnityExcelImporterLuban ## Basic Information - **Project Name**: UnityExcelImporter_Luban - **Description**: 适配好Unity的Luban,需要与Assets同级,UnityExcelImporter的Luban功能依赖项 - **Primary Language**: C# - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-02 - **Last Updated**: 2025-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # UnityExcelImporter_Luban This is a Unity Excel data import solution based on the Luban tool. It enables developers to efficiently convert Excel data into code and data files in multiple programming languages, simplifying the data configuration process in Unity projects. ## Features - Supports converting Excel files (e.g., `Human.xlsx`) into code and data files. - Supports multiple programming languages, including C#, C++, Java, Python, etc. - Provides various data output formats, such as JSON, Protobuf, and FlatBuffers. - Supports multilingual and localization features. - Offers rich templates for easy customization of output formats. ## Directory Structure - **Datas**: Stores Excel data files, such as `Human.xlsx`. - **Defines**: Configuration directory containing `builtin.xml`. - **Luban**: Core library and template files of the Luban tool. - **gen.bat**: Batch script for generating data. - **luban.conf**: Luban configuration file. ## Quick Start 1. **Prepare Excel Files**: Place your data files (e.g., `Human.xlsx`) into the `Datas` directory. 2. **Configure Luban**: Modify `luban.conf` and `Defines/builtin.xml` as needed. 3. **Generate Data**: Run the `gen.bat` script to generate target code and data files. 4. **Integrate into Unity**: Import the generated code and data files into your Unity project for use. ## Usage Examples - **C#**: Use the `cs-bin` template to generate C# code. - **JSON**: Use the `cs-editor-json` template to generate JSON-formatted data files. - **Protobuf**: Use the `cs_pb` template to generate Protobuf-formatted data files. ## Dependencies - .NET Runtime Environment - Unity Engine - ExcelDataReader Library - Protobuf and other serialization libraries ## License This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.