Skip to content

LeoECS Lite extension for efficient Authoring Component code generation.

License

Notifications You must be signed in to change notification settings

g0dzZz-coder/ecslite.baking.codegen

Repository files navigation

LeoECS Lite Baking Code Generation

License Last Commit Code Size

Table of Contents

🧾 Introduction

Leopotam.EcsLite.Baking.CodeGen is an extension for Leopotam.EcsLite.Baking, which introduces code generation, making the process of creating custom components more efficient and freeing you from routine.

💡 Features

  • Open Source: This library is open-source and free to use.
  • Easy to Use: Add the DefaultBaking attribute to your ECS components and get ready-made AuthoringComponent.

📥 Installation

📦 Using UPM:

  1. Open the Unity Package Manager window.
  2. Click the + button in the upper-right corner of the window.
  3. Select Add package from git URL....
  4. Enter the link to the Leopotam.EcsLite.Baking repository.
  5. Click Add.
  6. Repeat steps 2-5 for Depra.CodeGen.Unity.
  7. Repeat steps 2-5 for this repository.

⚙️ Manual:

Add the following lines to Packages/manifest.json in the dependencies section:

"com.leopotam.ecslite": "https://github.com/Leopotam/ecslite.git",
"com.leopotam.ecslite.baking": "https://github.com/g0dzZz-coder/ecslite.baking.git",
"com.depra.codegen": "https://github.com/Depra-Inc/CodeGen.Unity.git",
"com.leopotam.ecslite.baking.codegen": "https://github.com/g0dzZz-coder/ecslite.baking.codegen.git"

📋 Usage Examples

  1. Add the DefaultBaking attribute to your ECS components.
  2. Click Generate Authoring Components in the Depra/Ecs menu.
  3. You're all set! The generated components will be located in the Assets/Generated/AuthoringComponents folder.

🖇️ Dependencies

🤝 Collaboration

I welcome feature requests and bug reports in the issues section, and I also accept pull requests.

🫂 Support

I am an independent developer, and most of the development of this project is done in my free time. If you are interested in collaborating or hiring me for a project, please check out my portfolio and contact me!

🔐 License

This project is distributed under the Apache-2.0 license

Copyright (c) 2023 Nikolay Melnikov [email protected]

About

LeoECS Lite extension for efficient Authoring Component code generation.

Topics

Resources

License

Stars

Watchers

Forks

Languages