3
\$\begingroup\$

I'm looking for an alternative to UI Builder.

Ideally I'd like to have basically a Chromium instance atop Unity3D which would have its JS calls somehow land in the C# (maybe in the "Update" loop it listens to a constant stream of potential calls and the parameters will correspond to function names in my Unity code, I don't know)

here's what I found which doesn't quite live up to my expectations:

This Unity forum thread may be relevant. Chromium Embedded Framework was a tool used by some assets on the asset store to create chromium UI but it has been removed.

If not using these assets, how can I implement my idea of using Chromium as my UI layer?

\$\endgroup\$
7
  • \$\begingroup\$ You want a "web browser control" ... Basically a UI element that acts like a browser. Common in C#/.Net but not common in Unity to my knowledge. Various conotrols will have varying levels of support (which browser back-end, whether they support javascript, etc). There are some on the Unity Asset Store (search "browser") \$\endgroup\$
    – Basic
    Commented Nov 20, 2020 at 10:47
  • 1
    \$\begingroup\$ I mean yeah I listed assetstore.unity.com/packages/tools/gui/embedded-browser-55459 and assetstore.unity.com/packages/tools/gui/… and assetstore.unity.com/packages/tools/gui/powerui-html-css-10374 in my post above and their defects, those are the only three that come up in the asset store. \$\endgroup\$
    – tatsu
    Commented Nov 20, 2020 at 11:20
  • \$\begingroup\$ @DMGregory what about this : zenfulcrum.com/browser/docs/Readme.html? \$\endgroup\$
    – tatsu
    Commented Nov 20, 2020 at 11:59
  • \$\begingroup\$ It's no Chromium and it's so far only available for editor scripting, but the new UI Toolkit is pretty similar to HTML+CSS in philosophy and might become available for ingame UIs in 2021. \$\endgroup\$
    – Philipp
    Commented Nov 20, 2020 at 14:00
  • \$\begingroup\$ well that's part of the problem I've been having with it ("Ui Toolkit" is one of "Ui Builder's" many names). the blasted thing just won't come out and is in an unusable state. I honeslty don't think it will truly become usable before 2022. personally I've struggled with drawing simple triangles which is something you can do more than easily in pure CSS but in Ui Toolkit you have to have an element and you get an irregular quadrilateral at best. also Blur doesn't exist, drop shadow either. \$\endgroup\$
    – tatsu
    Commented Nov 20, 2020 at 14:15

1 Answer 1

4
\$\begingroup\$

I'm the developer of 3D WebView, and I just wanted to clarify that it doesn't have the limitations you thought:

\$\endgroup\$
2
  • 1
    \$\begingroup\$ Very informative answer. Thanks \$\endgroup\$
    – ProllyGeek
    Commented Jul 22, 2022 at 17:00
  • \$\begingroup\$ You're welcome, @ProllyGeek! \$\endgroup\$
    – BinaryNate
    Commented Jul 23, 2022 at 22:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .