Search Unity

www mage url to store n a txt fle

Discussion in 'Scripting' started by jessica1986, Apr 19, 2012.

  1. jessica1986

    jessica1986

    Joined:
    Feb 7, 2012
    Posts:
    622
    Hıı ı wanna store the url ın a txt fıle and want the plane to load thıs url....

    Pleaseeeee help ..ı dont know php
     
  2. pspdude

    pspdude

    Joined:
    Dec 17, 2011
    Posts:
    43
    Don't know what you mean by this, but so far what I get is that you wouldn't need php at all for this.
     
  3. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    26,434
    I think you're taking the piss a bit. I've seen you post a lot now and you're not making any effort whatsoever to read the docs. The www docs even have an example for this, making it trivial to load an image from the web for use in your game.

    Here are the docs: http://unity3d.com/support/documentation/ScriptReference/WWW-texture.html

    Please consider reading the docs every day, just a random page will do. When I started unity in earnest I would read everything in sight. If I saw someone post on forums, I would look up the solution myself just to teach me as well.

    The same can be done for text.
     
    Last edited: Apr 19, 2012
  4. jessica1986

    jessica1986

    Joined:
    Feb 7, 2012
    Posts:
    622
    i have gone through this tutorial before. But i am not looking for this. I am looking beyond this point. I want this url to be stored in a text or xml and web player / exe should load url from this txt / xml. I dont find any example like this. I googled a lot.

    If asking help on forum is frustrating for senior members then i might never go for the next thread. I am really sorry.

    Thanks.
     
  5. Tobias J.

    Tobias J.

    Joined:
    Feb 21, 2012
    Posts:
    423
    So you have to

    1) read text from a file (tip)
    2) use hippocoder's link

    Which part do you have problems with?
    Make an effort to write some code and tell us where you are stuck.
     
unityunity