Hey guys, I'm currently working on a keyboard-based game wtih HTML UIs.
Basically, there is no button or something requires a click inside the unity.
Since my game is keyboard-based, I need some kind of way to acquire focus from web page.
You know, if you don't click on the unity web player, focus is still on the web page
and that means keyboard input will not be delivered to the web player unless user click on it.
What exactly I need is that, get keyboard inputs when page is loaded. So, here is what I'm asking.
1. Is there any way to acquire focus from unity side?
2. Or can I intercept all the inputs on a web page from unity side?
Hope there's someone who can help me out.
Aug 27 '11 at 04:32 AM