solsword / anarchy

PCG-oriented incremental PRNG library in C, Python, JavaScript, and C#.
https://solsword.github.io/anarchy/
BSD 3-Clause "New" or "Revised" License
9 stars 1 forks source link

C# without Unity? #2

Open BenMcLean opened 3 years ago

BenMcLean commented 3 years ago

How would one import the C# version of Anarchy into a Mono (non-Unity) C# project?

Like with Godot or MonoGame or making your own engine?

solsword commented 3 years ago

(Sorry for missing the notification on this...)

This isn't trivial, since I wrote the code assuming a Unity environment, and I should really re-write it as a proper plugin so that the .cs file isn't Unity-specific, but in any case, the code is in unity/anarchy/Assets/Anarchy.cs, and a bit of modifications to the top of that file should render it non-Unity-specific...