Skip to content

naivetang/HookUnityEngineMethod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HookUnityEngineMethod

参考MonoHook,在之上封了几个菜单:

  • Hook GameObject的SetActive方法
  • Transform的Position Set方法


使用场景: 运行时物体被隐藏了或者物体发生位移,不知道是哪儿的代码导致。


使用: 选中目标物体,[Hook] - HookSetActive,至此hook SetActive方法成功,凡是调用目标物体的SetActive方法,都会打印到Console,并打印堆栈



HookSetActive

About

Hook UnityEngine内的方法

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages