Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Commit b47bfa1

Browse files
committed
Remove Mono restriction on generic type eligibility
1 parent 12c5124 commit b47bfa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hooks/HookCreator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ internal void ConstructAddHooksView(GameObject rightGroup)
253253

254254
ClassSelectorInputField = UIFactory.CreateInputField(addRow, "ClassInput", "Enter a class to add hooks to...");
255255
UIFactory.SetLayoutElement(ClassSelectorInputField.Component.gameObject, flexibleWidth: 9999, minHeight: 25, flexibleHeight: 0);
256-
TypeCompleter completer = new(typeof(object), ClassSelectorInputField, true, false, Universe.Context != UniverseLib.Runtime.RuntimeContext.IL2CPP);
256+
TypeCompleter completer = new(typeof(object), ClassSelectorInputField, true, false, true);
257257
//completer.AllTypes = true;
258258

259259
ButtonRef addButton = UIFactory.CreateButton(addRow, "AddButton", "View Methods");

0 commit comments

Comments
 (0)