How do I access the transform of a GameObject? #537
-
C#
Frida
il2cpp: couldn't find field Transform in class UnityEngine.GameObject |
Beta Was this translation helpful? Give feedback.
Answered by
commonuserlol
Aug 13, 2024
Replies: 1 comment 6 replies
-
Properties (name { get; set; }) should be prefixed with get_/set_. One more, i guess you need method, so in your case: method("get_transform").invoke() |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should do it inside
onLeave