mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-01-04 00:23:31 +08:00
Update HookCreator.cs
This commit is contained in:
parent
85c88a0fd7
commit
56601ac0bd
@ -281,7 +281,6 @@ namespace UnityExplorer.Hooks
|
|||||||
Type type = ReflectionUtility.GetTypeByName(hookData.ReflectedType);
|
Type type = ReflectionUtility.GetTypeByName(hookData.ReflectedType);
|
||||||
IEnumerable<MethodInfo> ms = type.GetMethods().Where(
|
IEnumerable<MethodInfo> ms = type.GetMethods().Where(
|
||||||
mi => mi.FullDescription() == hookData.Description
|
mi => mi.FullDescription() == hookData.Description
|
||||||
)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
MethodInfo method = ms.First();
|
MethodInfo method = ms.First();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user