mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
14 lines
444 B
C#
14 lines
444 B
C#
using ABI_RC.Core.Savior;
|
|
using HarmonyLib;
|
|
|
|
namespace NAK.ChatBoxExtensions.HarmonyPatches;
|
|
|
|
public class CVRInputManagerPatches
|
|
{
|
|
[HarmonyPostfix]
|
|
[HarmonyPatch(typeof(CVRInputManager), nameof(CVRInputManager.Start))]
|
|
static void Postfix_CVRInputManager_Start(ref CVRInputManager __instance)
|
|
{
|
|
ChatBoxExtensions.InputModule = __instance.gameObject.AddComponent<InputModules.InputModuleChatBoxExtensions>();
|
|
}
|
|
}
|