Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

Browser Based Unity UI Input without implementing buttons in a WebApp

Discussion in 'Unity Render Streaming' started by VRS3DGuru, Oct 28, 2022.

  1. VRS3DGuru


    Sep 21, 2017
    I may be missing something in the examples, but is there a way to present the Scene with Buttons to a web browser using an in Scene camera via RenderStreaming (either as a UI Camera target assigned to UIToolkit or a UI Canvas) and have the web browser send back X-Y coordinate based input? Motivation here is to not implement actual buttons via HTML as our button layout is being defined dynamically in response to state changes in our scene. Hoping to avoid passing JSON out to a webapp for dynamic button layout changes and handle all button implementations in Unity scene but recieve input from browser.

    I could not get the above to work based on examples, wondering if I am looking at the wrong examples or have some other issue with my setup.

    Thank you!
  2. kazuki_unity729


    Unity Technologies

    Aug 2, 2018