Skip to content

Commit

Permalink
move strange quad that has shadowcaster for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeroluna committed Nov 8, 2024
1 parent 4d836d8 commit 6cea9c2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Vivify/HarmonyPatches/MoveAlwaysVisibleQuad.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using HarmonyLib;
using Heck;
using UnityEngine;

namespace Vivify.HarmonyPatches;

[HeckPatch(PatchType.Features)]
internal static class MoveAlwaysVisibleQuad
{
[HarmonyPostfix]
[HarmonyPatch(typeof(AlwaysVisibleQuad), nameof(AlwaysVisibleQuad.OnEnable))]
private static void MoveIt(AlwaysVisibleQuad __instance)
{
__instance.transform.position = new Vector3(0, -1000, 0);
}
}

0 comments on commit 6cea9c2

Please sign in to comment.