Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Project Tiny HTML UI

Discussion in 'Project Tiny' started by Kiwiownage, Dec 16, 2021.

  1. Kiwiownage

    Kiwiownage

    Joined:
    Mar 26, 2014
    Posts:
    8
    Hey guys.

    Can't seem to find anything on how to go about plugging in HTML UI into project Tiny... I'm pretty sure this is possible though?

    Could anyone point me in the right direction

    Thanks!
     
  2. TwoorbJan

    TwoorbJan

    Joined:
    Mar 6, 2013
    Posts:
    38
    I am using HTML based UI and the way I did it is to expose the functionality, ie: what happens when interacting with the UI using a JS plugin, you can find more about it in the official Getting Started document https://docs.google.com/document/d/...HfnAX-CpYLK3aOdwA/edit#heading=h.8jce71acizfk

    You can see it as defining all the events (in C#) that can be triggered by UI interactions (regardless if the UI is based on Tiny, HTML or other) and all the UI updates (in JavaScript) that can be called by systems in C#. Hope that helps a little :)
     
  3. Kiwiownage

    Kiwiownage

    Joined:
    Mar 26, 2014
    Posts:
    8
    Oh wow thats one helpful document!

    Thanks again! You seem to be my savior on these forums :p
     
    TwoorbJan likes this.