mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
[ChatBoxExtensions] Updated to 2023r172ex1
This commit is contained in:
parent
4c09f9bd57
commit
1d2533ff2b
13 changed files with 41 additions and 23 deletions
|
@ -1,4 +1,4 @@
|
|||
using ABI_RC.Core.Savior;
|
||||
using ABI_RC.Systems.InputManagement;
|
||||
using HarmonyLib;
|
||||
|
||||
namespace NAK.ChatBoxExtensions.HarmonyPatches;
|
||||
|
@ -9,6 +9,6 @@ public class CVRInputManagerPatches
|
|||
[HarmonyPatch(typeof(CVRInputManager), nameof(CVRInputManager.Start))]
|
||||
static void Postfix_CVRInputManager_Start(ref CVRInputManager __instance)
|
||||
{
|
||||
ChatBoxExtensions.InputModule = __instance.gameObject.AddComponent<InputModules.InputModuleChatBoxExtensions>();
|
||||
__instance.AddInputModule(ChatBoxExtensions.InputModule);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue