I’m thinking of making a program that outputs information about a box to a web browser when it interacts with Unreal Engine 4.
How to notify the browser to UE4 interactions (e.g. clicking on a box)?
(e.g. when enter text into a browser form, the text will be rendered on the UE4 side, etc.)
It would be helpful to have the following sample to write the data input and output to and from UE4 in console.log.
const ue4Engine = document.getElementById('canvas'); ue4Engine.addEventListener('interact', (blueprint) => console.log(blueprint.event));
Also, I would like to know how to receive and process the data generated by the web browser on the UE4 side.
fetch('http://example.com/test.csv') .then(response => response.text) .then(data => ue4Engine.post(data);