Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 xotonic · Aug 21, 2016 at 02:36 PM · scenescreen

How to display two scenes in one screen?

I have 2 scenes and want to split screen in 2 parts. Each part displays own scene and handles mouse clicks. alt text

I try to use "add scene additive", but it just adds own object tree to active scene. I need separate scenes in each part and be able to determine mouse events in both scenes.

Is the way to implement that in Unity?

2scn.png (9.4 kB)
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
2
Best Answer

Answer by OsmiousH · Aug 22, 2016 at 10:11 AM

I Found out the error

In the layer manager add new layers 2d and 3d

In the Camera Settings of 2d camera

  1. Find culling mask

  2. In the culling settings

  3. Remove 3d

Do the reverse in the 3d camera

Now in the objects you want to set 2d add 2d layer and the opposite in 3d

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
2

Answer by OsmiousH · Aug 21, 2016 at 02:49 PM

Use Open scene additive

In the inspector of the camera (3d scene)

Go to Camera > Viewport Rect

use these settings X = 0 Y = 0 W = 0.5 H = 1

In the inspector of the camera (2d scene)

Go to Camera > Viewport Rect

use these settings X = 0.5 Y = 0 W = 0.5 H = 1

@OsmiousH @xotonic


3d-viewport-rect.png (2.2 kB)
2d-viewport-rect.png (2.3 kB)
Comment
Add comment · Show 2 · 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 xotonic · Aug 21, 2016 at 05:49 PM 0
Share

As I mentioned, in such way both cameras display all objects of two scenes. This is not valid

I need to see only 3d objects in first camera and 2d objects in second camera.

2scn2.png (83.2 kB)
avatar image OsmiousH xotonic · Aug 22, 2016 at 10:03 AM 0
Share

It must be some error in your installation I see Objects according to scene

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Best way of setting background image for Game Menu Screen? 1 Answer

Change screen Orientation when change scene 0 Answers

How do I take a high quality screen shot from my scene view camera? 5 Answers

Screen orientation change in scenes (unwanted effect) 1 Answer

switching between different screen boxes 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