Hi Friends, can you help me to fix this code, when i try to compile it shows error says "declaration of variabel 'UnityEngine' with deduced type 'auto' requires initializer"
It's an auto hook, i think the problem is the dot in "UnityEngine.Camere" coz i tried to hook a sealed class
It's an auto hook, i think the problem is the dot in "UnityEngine.Camere" coz i tried to hook a sealed class
auto UnityEngine.Camera = new LoadClass("", OBFUSCATE("UnityEngine.Camera"));
DWORD get_fieldOfView = UnityEngine.Camera->GetMethodOffsetByName(OBFUSCATE("get_fieldOfView"), 0);
A64HookFunction((void *)("libcsharp.so", get_fieldOfView), (void *) _DroneView, (void **) &oDroneView);
Last edited: