vfsfitvnm / frida-il2cpp-bridge

A Frida module to dump, trace or hijack any Il2Cpp application at runtime, without needing the global-metadata.dat file.
https://github.com/vfsfitvnm/frida-il2cpp-bridge/wiki
MIT License
946 stars 194 forks source link

How to get each value of GameObject[] #328

Closed chichi-cc closed 1 year ago

chichi-cc commented 1 year ago

When I got UnityEngine.GameObject[] and i can get the length But when I use the for loop to get each child, I get undefined How can I get this correctly

vfsfitvnm commented 1 year ago

A (reproducible) code snippet would definitely help!

chichi-cc commented 1 year ago

I made a simple mistake and have fixed the problem, thank you

vfsfitvnm commented 1 year ago

That's fine, however if you post the solution here so that everyone can benefit from it!