- Home /
Question by
stanly3690 · May 08, 2017 at 02:29 PM ·
activatecommunicationwebview
Communication between uniwebview and GameObject
I have been spending some time in communicating from uniwebview to objects within or outside the scene. I could connect from uniwebview html page to the script using " uniwebview:// " and it succesfully works. Actually I need to destroy the current object and make another object active. However the destruction works using "this.destroy()", but I'm having a hard time making the other object active.
The code which I used to activate is : " var test = gameobject.find("TestObject"); test.setacive(true); "
Any guidance would be appreciated for the same.
Thanks
Comment