mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
push broken mod
This commit is contained in:
parent
742f816d3d
commit
344e3bb6d6
12 changed files with 500 additions and 0 deletions
14
ChatBoxExtensions/HarmonyPatches.cs
Normal file
14
ChatBoxExtensions/HarmonyPatches.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using ABI_RC.Core.Savior;
|
||||
using HarmonyLib;
|
||||
|
||||
namespace NAK.Melons.ChatBoxExtensions.HarmonyPatches;
|
||||
|
||||
public class CVRInputManagerPatches
|
||||
{
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(CVRInputManager), "Start")]
|
||||
static void Postfix_CVRInputManager_Start(ref CVRInputManager __instance)
|
||||
{
|
||||
ChatBoxExtensions.InputModule = __instance.gameObject.AddComponent<InputModules.InputModuleChatBoxExtensions>();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue