toebeann / SnapBuilder

Snap-to-Grid in Subnautica!
https://www.nexusmods.com/subnautica/mods/427
GNU Lesser General Public License v3.0
5 stars 1 forks source link

Migrate snapping code to Builder.GetAimTransform #37

Closed toebeann closed 3 years ago

toebeann commented 3 years ago

Migrated snapping code into a HarmonyPostfix on Builder.GetAimTransform(), which provides the following benefits:

Simply put, a more elegant solution, that should make it easier to maintain or add new features to SnapBuilder!