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 BonyYousuf · Jan 03, 2014 at 03:34 PM · scenelobbytabspoker

Tab to show different room for poker table?

Hi all, I am planning to create a game like poker. Where people will see a lobby initially and from there they can connect to two different rooms to play poker simultaneously. I was hoping to achieve this with "Tab" functionality. Where the first tab will be the lobby, second the first room player connects to and the third is the second room player connects to.

I am kinda confused on how to achieve this. If lobby and room are two separate scene, can I open one scene for lobby and two duplicate scene for the rooms? If not, what is the best way? Only one way I can think of is, having the lobby and two rooms on a single scene and have the camera move to different location based on which tab is being clicked.

Please let me know what you think is best.

Thanks

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by ABerlemont · Jan 03, 2014 at 03:47 PM

If I understood you don't want to show multiple tables at the same time on the screen ?

Then the simplest idea would be to have only one table in the scene that will update when you change tabs. You store every bit of information for a table that will allow you to update that table when you click on a new tab. That class can be instantiated for mulitple tables.

Hope that helps

Comment
Add comment · Share
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
0

Answer by robhuhn · Jan 03, 2014 at 03:55 PM

If lobby and room are two separate scene, can I open one scene for lobby and two duplicate scene for the rooms?

You can create the lobby and a table in separate scenes and merge them into the current game scene using Application.LoadLevelAdditive (or async). That will load all the objects in your lobby/table scene into the current scene but you then have to manage these objects by yourself e.g. if you want to remove a table again - Parenting could be helpful here to group objects of a specific scene.

Comment
Add comment · Share
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

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

20 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

RPC call on other scene,NetworkView RPCs in other scene, 0 Answers

[Help] Problem instantiatedObjects Chang Scene from Lobby(Photon) 0 Answers

[SOLVED] Scene Tab and Game Tab Rotation 1 Answer

lost my tabs my heirarchy, game and scene tab 1 Answer

Network - Keep connected when moving scene? 0 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