- Home /
Photon username script
Hello Everyone,
I now have a login system up and running in my game thanks to Pako from my other post: http://answers.unity3d.com/questions/368228/login-and-flying-script.html
And I now want to make a script so that once the user has logged in, they automatically join a room called "DRAGONSRP".
How can this be done? At the moment the game gives the option for users to pick a username.
Look at the Photon Viking eksampel in the Asset Store. It doesn't do what you request, but it establishes the foundation for it, and it should be somewhat straight forward to pull whatever you need from that project.
That's what I have been using this whole time @Pako for all of this. It's easy and simple to use and you don't have to do any config except define your app ID
I did look at the code @OrangeLightning however I still can't understand to make the username change based on the login. If I sent the scripts here, any chance someone could merge them?
Try and and see, that's what Unity Answers is all about. When you edit your question and paste in the script, your question will go at the top of the queue again, and be readily visible to all.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
A node in a childnode? 1 Answer
PhotonView question 1 Answer
Join room and create if not existing. 0 Answers
Terrain isn`t working PLEASE help 2 Answers