CefGlue with Unity

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

CefGlue with Unity

Postby link1375 » Wed Sep 05, 2018 5:32 am

Hey,

I am trying to use cefgue in unity but I am stuck. I build the project added the files from the cef binaries and included all in the unity porject. I've found two old projects (https://github.com/aleab/cef-unity-sample, https://github.com/SethGibson/CEF_01) which render the webite to an object, but there is no interaction and the scene crashes after the second run (restart unity). So they use the offscreen version. But since I need to click on buttons on the website and scroll down in a 3D scene, I wonder if this is the right approach (i.e. can I simulate these interactions with the offscreen version? WindowsForms and wpft are not supported in Unity).

I hope someone can help me!
link1375
Newbie
 
Posts: 2
Joined: Wed Sep 05, 2018 5:19 am

Re: CefGlue with Unity

Postby Czarek » Fri Sep 07, 2018 2:09 am

In CEF there is CefBrowser::SendMouseClickEvent and similar functions, so that you can click/move/scroll programmatically in off-screen rendering mode.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. I'm available for contract work, see my resume.
User avatar
Czarek
Virtuoso
 
Posts: 1829
Joined: Sun Nov 06, 2011 2:12 am


Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 1 guest