1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 02:53:29 +08:00

work in progress

This commit is contained in:
2025-11-30 18:08:13 +08:00
parent 3f7c384284
commit 29ee32b11b
8 changed files with 168 additions and 3 deletions

View File

@@ -82,7 +82,8 @@ class BlueprintTweaks
new CodeMatch(OpCodes.Callvirt)
).RemoveInstructions(5);
matcher.InsertAndAdvance(new CodeInstruction(OpCodes.Ldarg_0),
Transpilers.EmitDelegate((UIBuildingGrid grid) => {
Transpilers.EmitDelegate((UIBuildingGrid grid) =>
{
grid.material.SetFloat(reformMode, 0f);
grid.material.SetFloat(zMin, -0.5f);
})