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 Ternary · Feb 03, 2012 at 04:10 AM · c#windowstransparencyeffectsoverlap

Overlapping Unity Players w/ Transparency

Bear with me, I am new to Unity. I'm wondering if it's possible to have two different instances of the Unity player each running their own animation and have them overlap with the top one having a transparent background.

I worked up a rough mock image of what I'm talking about. Here foo.unity3d is one animation playing and bar.unity3d is a snow animation playing on top where the non-flake areas are transparent. It appears as if the snow is falling on the foo.unity3d animation but because they're separate instances of the player, I can drag the snow window around.

alt text

Comment
Add comment · Show 2
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 yoyo · Feb 03, 2012 at 06:16 AM 0
Share

That would be cool, but why would you do that rather than building everything into one unity build? (Not criticizing you for trying, just wondering what the use case is ...)

avatar image Ternary · Feb 03, 2012 at 03:53 PM 0
Share

I knew someone would ask haha, it's a totally valid question. The benefit to this decoupled approach is that foo and bar can now be updated and released independent of each other. Also using this example, say I wanted 5 different variants of bar.unity3d (rain, snow, hail, etc.). Now I don't have to put all of that into foo.unity3d.

This is all to get around unity's inability to bundle c# script code into asset bundles. Otherwise I could have foo come up and load remotely whichever bar asset bundle I wanted and run the associated scripts for that scene. I understand from Unity's point of view that this is a security measure.

I should just note (for more context) incase you think that this is a weird thing to achieve, I am one of the few evaluating Unity for non-ga$$anonymous$$g applications.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Berenger · Feb 03, 2012 at 06:36 AM

I don't think that's possible. But you can probably work it around in one scene and two camera, controlling the snow camera position (the position of the component camera, not the transform) with your mouse.

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

6 People are following this question.

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

Related Questions

Multiple Cars not working 1 Answer

Distribute terrain in zones 3 Answers

Don't render an Area behind a plane 0 Answers

parallax on x, But how on the y as well? [Solved] 1 Answer

How to connect a PC application and an Android application together via USB, so they can talk to each other as if they were networked? 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