Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Save Player Position in Database

Discussion in 'Editor & General Support' started by EdgarCarrera, Aug 9, 2014.

  1. EdgarCarrera

    EdgarCarrera

    Joined:
    Apr 21, 2014
    Posts:
    255
    Hello guys how i can save player position in database? php mysql C#
     
  2. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    I assume you already decided to use PHP in combination with MySQL. That means, you have a certain url that is called in order to store the position. In Unity you just need to use the WWW class to call that url and to pass the data somehow. You find several tutorials only. Just google for Unity PHP MySQL.
     
  3. EdgarCarrera

    EdgarCarrera

    Joined:
    Apr 21, 2014
    Posts:
    255
    i know how to send to php but how i get the position and rotation?
     
  4. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667