[ChatBoxExtensions] Add AAS commands.

This commit is contained in:
NotAKidoS 2023-06-27 17:38:20 -05:00
parent b1fd591645
commit 8d4f17b8d1
4 changed files with 41 additions and 4 deletions

View file

@ -6,7 +6,7 @@ namespace NAK.ChatBoxExtensions.HarmonyPatches;
public class CVRInputManagerPatches
{
[HarmonyPostfix]
[HarmonyPatch(typeof(CVRInputManager), "Start")]
[HarmonyPatch(typeof(CVRInputManager), nameof(CVRInputManager.Start))]
static void Postfix_CVRInputManager_Start(ref CVRInputManager __instance)
{
ChatBoxExtensions.InputModule = __instance.gameObject.AddComponent<InputModules.InputModuleChatBoxExtensions>();