• 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
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

People who like this

0 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-gaming applications.

1 Reply

  • Sort: 
avatar image

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

People who like this

0 Show 0 · 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

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

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

How to FadeIn 3dObject using alpha color? 1 Answer

Windows 8 Store C# XAML - How to add additional splash screens? 0 Answers

Corrupt Font Symbol Crash - Has anyone found a solution? 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