- Home /
Coherent UI in unity 3d For Android mobile
Hi all,
I am very new to unity and coherent UI development. I am trying to display a HTML page in Unity using Coherent UI for Mobile apps. I am able to display the Html page in unity screen built in Android platform. But i am not able to provide touch to the html form that s displayed. Where are am i doing mistake. I have added coherentUIView to Main camera that displays me the HTML page. How can i get the touch on the HTML page.
What i tried:
I ve added CoherentUIView component to Maincamera and did necessary changes in Inspector.
Added ObjectScript to it.
Build it code.
Pls help me in this to solve the issue.
Thanks.
edited your question because the first paragraph was shown in one code-formatted line
Answer by nikxio · Dec 05, 2013 at 05:08 PM
The input in the HTML page should work out of the box regardless of any settings you make. If it doesn't you should open a ticket at Coherent Labs' support system - coherentlabs.zendesk.com or email support@coherent-labs, including the steps you did to reproduce the issue.
If you don't get input forwarded from the page to Unity you should make sure that you have included coherent.js (Assets/CoherentUI/JavaScript.zip) in your page. The forwarding on Android is through JavaScript events which are registered in coherent.js - that's why it's required.