From b47bfa1e83a6c663262c218756bbafff21a078e9 Mon Sep 17 00:00:00 2001 From: Sinai <49360850+sinai-dev@users.noreply.github.com> Date: Fri, 22 Apr 2022 22:27:23 +1000 Subject: [PATCH] Remove Mono restriction on generic type eligibility --- src/Hooks/HookCreator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Hooks/HookCreator.cs b/src/Hooks/HookCreator.cs index acb628f..a28ee1d 100644 --- a/src/Hooks/HookCreator.cs +++ b/src/Hooks/HookCreator.cs @@ -253,7 +253,7 @@ namespace UnityExplorer.Hooks ClassSelectorInputField = UIFactory.CreateInputField(addRow, "ClassInput", "Enter a class to add hooks to..."); UIFactory.SetLayoutElement(ClassSelectorInputField.Component.gameObject, flexibleWidth: 9999, minHeight: 25, flexibleHeight: 0); - TypeCompleter completer = new(typeof(object), ClassSelectorInputField, true, false, Universe.Context != UniverseLib.Runtime.RuntimeContext.IL2CPP); + TypeCompleter completer = new(typeof(object), ClassSelectorInputField, true, false, true); //completer.AllTypes = true; ButtonRef addButton = UIFactory.CreateButton(addRow, "AddButton", "View Methods");