mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-01 19:13:03 +08:00
Cleanup
This commit is contained in:
@ -15,7 +15,7 @@ namespace UnityExplorer
|
|||||||
{
|
{
|
||||||
var method = typeof(Assembly).GetMethod(nameof(Assembly.GetTypes), new Type[0]);
|
var method = typeof(Assembly).GetMethod(nameof(Assembly.GetTypes), new Type[0]);
|
||||||
var processor = ExplorerCore.Harmony.CreateProcessor(method);
|
var processor = ExplorerCore.Harmony.CreateProcessor(method);
|
||||||
processor.AddFinalizer(typeof(ReflectionPatches).GetMethod(nameof(ReflectionPatches.Assembly_GetTypes)));
|
processor.AddFinalizer(typeof(ReflectionPatches).GetMethod(nameof(Assembly_GetTypes)));
|
||||||
processor.Patch();
|
processor.Patch();
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
Reference in New Issue
Block a user