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 lionsav · May 21, 2011 at 08:58 PM · webplayerbrowser

Is it possible to view a webpage in the webplayer using just c#

I know there are other projects like htmltexture and one that uses webkit that will never run on the webplayer because they must accesss C++ files. But is it theoretically possible to make a browser or html viewer in the webplayer to use as a web 2.0 GUI using just .NET and C# routines? Unity 3.0 can now access managed dlls which I think means it can use dlls that are written entirely in C#?

Is it possible to make something that would allow a user to view and interact with an html/javascript page in the webplayer for a GUI.

Thanks Dan

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Bunny83 · May 21, 2011 at 09:21 PM

If the whole thing is written in managed code, yes. But keep in mind all the rendering and all other stuff have to be done with functions that are supported by the webplayer.

I don't think that there is any assembly out there that will work in the webplayer... It's even crazy to implement a JScript interpreter in C# and run the whole thing in the webplayer in a browser...

Why do you need something like that? Do you want to fool the user? or what? Who needs a browser in a browser?

Comment
Add comment · Show 3 · 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 lionsav · May 21, 2011 at 09:32 PM 0
Share

I want to use the html page inside the webplayer for a GUI. It's so easy to build excellent GUI's now using html and javascript frameworks like Dojo, ExtJS and jquery. I don't think anything unity could come up with on their own for a GUI system would ever come close to what's possible with these frameworks. If it can run inside the webplayer it might also run on the iphone or ipad. I'm just looking for a universal GUI solution that is great for building web 2.0 style applications with Unity.

avatar image Bunny83 · May 21, 2011 at 09:42 PM 2
Share

No way, such an interpreter wouldb't be very fast and it's definately easier to use a Unity GUI system. Even on iPhone/iPad such a system would be a total overkill. Html render engines like gecko are huge. It's not just a 3$$anonymous$$ dll file that would go in several $$anonymous$$B and if you do it all in managed code i guess even larger :D. Everything just to display a GUI? How would you interact with your actual game? JScript engines also run in a sandbox. With Unity you have a 3D engine so in the end you can do much more than with html/JScript.

avatar image Waz · Jun 27, 2011 at 12:29 AM 1
Share

While HT$$anonymous$$L and Dojo etc have their place, using them to try to render a GUI at 60fps like Unity GUI does (as well as actually run your game!) shows the difference in the domains for these technologies. Personally, I find Unity GUI awesome, and I used to work on Qt and Q$$anonymous$$L.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Turn off / invalidate browser cache 2 Answers

Can I get the name/type of browser the webplayer is running in? 1 Answer

Browser to webplayer communication problem 0 Answers

Save/Load game using XML on Browser/Web Player 2 Answers

streaming to iPhone and Android 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