Search Unity

How to view websites from unity on iPhone and Android

Discussion in 'Scripting' started by iceshaft07, May 5, 2011.

  1. iceshaft07

    iceshaft07

    Joined:
    Jul 23, 2010
    Posts:
    293
    I was wondering if anyone has attempted to make in an in game store button that sends you off to a website to purchase items.

    With what I know of Unity, I believe the would be accomplished by its messaging system, right? Or, is there another easier way of doing this?

    Also, would I have to write a plugin for the Android in Java? Android builds are not much like iPhone builds-- I don't see the java before I build things.

    Thanks for your comments in advance.
     
  2. bitomule

    bitomule

    Joined:
    Oct 27, 2008
    Posts:
    173
    You could use Application.OpenUrl(StringURL). Check this unity answers post for more info.