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
2
Question by Rims · Dec 21, 2009 at 05:57 AM · embed

Embedding Unity in Windows application

How to embed unity in my windows form? or rather how to use unity3d classes in my windows application developed in visual studio in order to render 3d objects?

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
4
Best Answer

Answer by jashan · Dec 21, 2009 at 11:56 AM

This has been covered in: Is it possible to start Unity from a C# project ?

As Lucas pointed out: The possibility that's available is using the Unity Webplayer ActiveX control - but it's a non-documented and non-supported solution, so "use at your own risk" and be aware of its limitations.

Another question to the same subject was: Is it possible to build a standalone .net application that link UnityEngine.dll

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 Rims · Dec 21, 2009 at 12:51 PM 0
Share

thanks a lot for your help...

avatar image jashan · Dec 22, 2009 at 09:47 AM 0
Share

If you feel this answers you question, you might consider marking it as "accepted answer". This is done by clicking on the little greyed out "check" symbol next to the answer. You can also change the accepted answer at a later point in time (e.g. if you find someone posts an answer that is even more appropriate than the one you originally marked as "the answer"). Also, if you feel the answer is valuable, you may consider voting it up. ;-)

avatar image
0

Answer by Lucas Meijer 1 · Dec 21, 2009 at 08:12 AM

I'm not sure how much success people have with this, but you could try taking the Unity webplayer activex control, and embedding that. You're likely to experience some friction along the way, but as a first thing to try, I would try this.

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 Rims · Dec 21, 2009 at 12:50 PM 0
Share

thanks a lot...

avatar image
0

Answer by dif-sam · May 08, 2015 at 01:20 PM

You can try to embed unity player's window by using "-parentHWND " command line arguments. Here is an example how to do this without dealing with the webplayer activex (unfortunately i'm not the biggest fan of the COM technology).

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

1 Person is following this question.

avatar image

Related Questions

Multiple Unity Embeds Slow 0 Answers

How one can build 3D Room Model with specific parameters? ,How can we build 3D Room model with specific parameters? 1 Answer

Can Unity (web player?) be embedded in Keynote? 0 Answers

Embed web player without modifying the head tag contents 0 Answers

how can i add a window running Unity, in an xcode project 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