Arch-ECS
💬 Join the discord!☕ Buy us a coffee!
  • 🌄Why Arch?
  • 📖Documentation
    • Concepts
    • World
    • Entity
    • Query
    • Archetypes & Chunks
    • Optimizations
      • Query-Techniques
      • Pass on data
      • Batch and Bulk
      • PURE_ECS
      • Multithreading
      • EntityData
    • Utilities
      • Component Registration
      • Non-generic API
      • CommandBuffer
      • Events
      • Dangerous Extensions
  • 🧩Extensions
    • Arch.Extended
      • Arch.System
      • Arch.System.SourceGenerator
      • Arch.EventBus
      • Arch.AOT.SourceGenerator
      • Arch.LowLevel
      • Arch.Persistence
      • Arch.Relationships
  • 💡Examples & Guidelines
    • Arch.Samples
    • Entities in Query
    • Structural changes
  • Unity
  • 🎮Projects using Arch
    • Skylandkingdoms
    • Cubetory
    • SS14
    • EquilibriumEngine-CSharp
    • Rougelite-Survivor
  • ✏️Misc
    • Roadmap
    • FAQ
Powered by GitBook
On this page
  • Dlls
  • NuGetForUnity
  • Sources

Was this helpful?

Edit on GitHub

Unity

Unity and how to use Arch with it.

PreviousStructural changesNextSkylandkingdoms

Last updated 28 days ago

Was this helpful?

How do I actually use Arch in Unity? There are several ways, let's take a look at them because all of them have advantages and disadvantages.

Dlls

The easiest way is to integrate Arch through its dlls. When building each version, dlls for the different versions are created and uploaded to . You can simply put them in the assets/plugins folder and you can use arch everywhere. The only disadvantage is that you need not only Arch dlls but also the dlls of Arch's dependencies. This includes Arch.LowLevel, Collections.Pooled and possibly Arch.System and co depending on what you want to use additionally. An example project can be found .

NuGetForUnity

Another option is to use This allows you to integrate nuggets such as the one from Arch relatively easily and makes things a lot easier for you.

Sources

As a last resort, it is also possible to simply copy Arch's source code into unity. But since Arch uses a newer C# version, it is possible that some methods are not available and you have to replace them manually with Unity-compatible methods.

Arch CI/CD Pipeline
here
Unity Nuget.