Internet Browser in Game!!!

Hi,

How can i have Internet Browser in my game on iphone?

By defualt when in touch a URL link in my game the default browser opens and goes to link.i want to have a browser in my game without exiting from game.

Thanks.

What is the intention? Is it to show texts and images or to make Unity act as a complete browser?

You could do that on a web player build, so you could have a browser in your browser! (so you can browse while you browse)

1 Answer

1

The easier way is to make a parser that sends information from a website structured in the way you want it. The parser could be made in php where you strip out any irrelevant information from the source so it only handles things within certain tags. The php script then sends information back to Unity where you’ve predefined the presentation of each parsed object.

The more tricky way is to integrate a browser framework as a plugin into Unity.

Unity cannot read a website and structure it like a (normal) browser without you parsing the objects on beforehand. Although you can do much with the WWW-class.

can u help me how can i integrate a browser as a plugin in unity?

I'm sorry this is above my current knowledge and capabilities, but have a look at the [Chromium][1] project. For instance [Awesomium][2] or [Berkelium][3]. [1]: http://www.chromium.org/ [2]: http://awesomium.com/ [3]: http://berkelium.org/