- Home /
This post has been wikified, any user with enough reputation can edit it.
Question by
John Morgan · Jun 09, 2013 at 05:37 PM ·
guireflectionwindowid
How to get the ID of the topmost window?
Hi all!
Sorry for my poor English...
Hot to get the ID of topmost window on GUI?
For Unity 3.x was the way with reflections (http://habrahabr.ru/post/149603/), but in Unity 4.х does not work - these calls have been transferred to external calls, and I can not trace them.
For example, I need to handle the keyboard shortcut for the button, but if the shortcuts are the same, then you need to treat only the topmost window. How to do it?
Thanks!
Comment