How to set [NativeProperty("ScreenTimeout")] in "class Screen" of namespace UnityEngine #186
Unanswered
qingpengchen2011
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Don't take for granted the unity documentation, things may get stripped after compiling; in fact dnSpy doesn't show a RVA (relative virtual address) of the setter/getter, does it? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is a sleepTimeout property in Class Screen. I get the definition from dnSpy. But When I dump class screen with Il2Cpp class.toString(), I can't find the sleepTimeout property. My question is: How can I set this kind of field in Il2Cpp? My aim is to set the property to keep the screen from dim.
Beta Was this translation helpful? Give feedback.
All reactions