Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Jamz · Dec 26, 2012 at 12:16 PM · photonloginvar

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.

Comment
Add comment · Show 5
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image FLASHDENMARK · Dec 26, 2012 at 01:13 PM 0
Share

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.

avatar image pako · Dec 26, 2012 at 01:53 PM 0
Share

Didn't know about the Photon Cloud... Nice! really nice! Thanx for the info @OrangeLightning!

And @Jamz, thanx for leading me here!!!

avatar image Jamz · Dec 27, 2012 at 11:36 AM 0
Share

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?

avatar image pako · Dec 27, 2012 at 11:48 AM 0
Share

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.

avatar image Jamz · Dec 27, 2012 at 12:02 PM 0
Share

Okay, I'll post it below soon

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges