Harmony
delaunator-sharp
Harmony | delaunator-sharp | |
---|---|---|
26 | 4 | |
4,835 | 368 | |
- | - | |
8.9 | 3.9 | |
8 days ago | 6 months ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Harmony
- How to make mods?
- Learning how to mod
- [Gordianquest] Mod amplificateur de butin
-
Fast Script Reload - Hot Reload implementation for Unity is now open source!
Some more details https://github.com/pardeike/Harmony/issues/424
-
Set return value of method called by method in unit test
Here's what you're looking for.
-
Why use { get; set; } at all?
Probably a little out of your scope but the library Harmony you can write patches (detours) on methods. Using get/set instead of a field would allow you to override the property's method. Let's say you wanted to write something to always have the name uppercase. You could patch the constructor and set this.name = this.name.ToUpper() but that field is publicly assignable so you can't really enforce that. On the other hand with a property you can override the set method to say this._name = value.ToUpper().
-
Python's "Disappointing" Superpowers
It's kind of a subtle distinction that I think was lost between the posted article and the original article it was responding to, but I don't think the kinds of reflection capabilities that Roslyn provides is what the author intended. The specific example given in the referenced article for "Higher-order programs" specifically refers to the ability to replace function implementations at runtime without interrupting the program, and specifically calls out hot-code reloading (such as what Java provides) as a deficient form of similar functionality. This is closer to the type of functionality libraries like Harmony provide, but even that solution requires including the library and instrumenting your code ahead of time.
-
Reverse engineering integrity checks in Black Ops 3
https://github.com/pardeike/Harmony harmony lets you patch functions at runtime, kind of like a dll injection / memory edit
-
Loot amplifier mod
Download Harmony 2 and put net472 version of the library into GordianQuest_Data\Managed
-
Replace class method from DLL with my own
I'd recommend looking into Harmomy and seeing if you're able to use it. It makes modifying DLLs pretty convenient.
delaunator-sharp
-
Using Voronoi polygons for simplified continent generation
Well, the easiest option would probably be to use a different Delaunay/Voronoi library. Delaunator (C# bindings here) should be a pretty good option: it's fast, and there's a good explanation of how to use the data structures it generates. There is some weirdness with how points at the edge of the domain work that you may have to work around, but that will probably be easier than trying to modify another algorithm or write your own. I know I've struggled to implement the algorithms for calculating Voronoi diagrams/Delaunay triangulations, even though I feel like I have a decent high-level understanding of how Fortune's algorithm is supposed to work.
-
Algorithm that covers a whole area with points, with values based on the original points at each iteration.
Yes ! Exactly. I already started working on it, and it's going well, but I am having a little trouble working with this. I can't find any tutorials online though, so I have to do figure it out on my own :)
-
How do they code Denaulay triangulation in Unity?
Unless you really want to learn the details of the triangulation algorithm, I recommend to just use a open source implementation in C#. Here's one that works fine with Unity: https://github.com/nol1fe/delaunator-sharp
What are some alternatives?
Mono.Cecil - Cecil is a library to inspect, modify and create .NET programs and libraries.
UnityLibrary - :books: Library of all kind of scripts, snippets & shaders for Unity
Fody - Extensible tool for weaving .net assemblies
com.unity.netcode.gameobjects - Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
Extenject - Dependency Injection Framework for Unity3D [Moved to: https://github.com/modesttree/Zenject]
UniTask - Provides an efficient allocation free async/await integration for Unity.
UnrealCLR - Unreal Engine .NET 6 integration
unity-delaunay - A Delaunay/Voronoi library for Unity, and a simple destruction effect
Computational-geometry - Computational Geometry Unity library with implementations of intersection algorithms, triangulations like delaunay, voronoi diagrams, polygon clipping, bezier curves, ear clipping, convex hulls, mesh simplification, etc
InjectFix - InjectFix is a hot-fix solution library for Unity
simulator - A ROS/ROS2 Multi-robot Simulator for Autonomous Vehicles