• 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 likechan · May 18, 2010 at 04:06 AM · transparent

How can i change standalone player's window style?

Hi there I want to transparent standalnoe Player. Until now, I hide windws frame, use winApi. But I don't know transparent standalone player's background.

help me!

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

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Marco.du · Dec 16, 2010 at 03:00 PM

How do you create transparent windows? I tried to use a solid color with the alpha set to zero but it didn't work.

Would you please let me know what else I need to do?

Thanks.

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
1

Answer by likechan · May 26, 2010 at 08:51 AM

For Hide Window frmae

  • Make dll and inport unity(Win Api)
    • FindeWindow
    • SetWindowLongW(...WS_EX_LAYERED)
    • SetLayeredWindowAttrivutes(......., LWA_ALPHA | LWA_COLORKEY)
  • Result of 1 is Hide Window Frame. But Player's Background Color was't Transparency.

  • Comment
    Add comment · Show 1 · 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 milk · Apr 18, 2011 at 02:35 PM 0
    Share

    In spite of this, if you move the window,the button focus position out of the button,see here:http://forum.unity3d.com/threads/85981-Is-there-a-way-to-Change-button-s-focus-position-Look-this-problem...

    avatar image
    0

    Answer by Ashkan_gc · May 18, 2010 at 05:56 AM

    create a sold color background for your game using your camera. (choose solid color instead of skybox). then use that API but that API is so heavy! unity currently don't have a feature like that for windows standalones and side bars but in mac you can create transparent dashboard vidgets

    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 likechan · May 20, 2010 at 03:07 AM 0
    Share

    $$anonymous$$ain Camera's Clear Flags is Set Solid Color, and Back Ground Color's Alpha value 0. But $$anonymous$$y application's BackGround is not transparent. why not accepted Back Ground Color's alpha value?

    avatar image Ashkan_gc · May 20, 2010 at 03:03 PM 0
    Share

    as i know the only way to do what you want is by using win API.

    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.

    Welcome to Unity Answers

    If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

    Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

    Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

    Follow this Question

    Answers Answers and Comments

    No one has followed this question yet.

    Related Questions

    Windows (glass) 4 Answers

    transparent self-illumination? 2 Answers

    Partial occlusion?(Not render object while inside a certain zone) 0 Answers

    What's the best way to animate a transparent image descending over a circular image? 0 Answers

    Minimap camera transparency 1 Answer


    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