- Home /
Question by
Shivam_Dhoot · Nov 18, 2015 at 02:21 PM ·
c#javascriptbuttonwebglhtml
Unity Button as HTML Button
Hello,
So I am working on Unity WebGl game and I need to open a popup on button click but the problem is the browser blocks the popup. So how do i solve it?? Please help. On Button click i call a function written in index.html file and that function opens a popup.
Please help me out on this.
Comment
Best Answer
Answer by Shivam_Dhoot · Jan 13, 2016 at 09:33 AM
Ok I got answer You can't do this. To open popup make a button in html file and enable disable according to your use.
Your answer
Follow this Question
Related Questions
Unity 5.6 not calling function when called from webpage 1 Answer
Browser interaction to Unity 0 Answers
Unity WebGL Problem 0 Answers
Can't connect to Web socket, connection refused Unity WebGL 0 Answers
Key for GUI.Button 2 Answers