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. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Question 2D Entities and UI

Discussion in 'Project Tiny' started by Astoret, Jun 9, 2020.

  1. Astoret

    Astoret

    Joined:
    Jan 22, 2020
    Posts:
    7
    HI, I'm experimenting with replacing old GameObject by ECS and found the Tiny project. It's really amazing!
    But I stuck with adding UI elements. E.g I added Canvas and Text UI component for displaying FPS. The my hierarchy windows look like this:
    hierarchy.png
    And When I click play it appears in proper place:
    play.png

    But when I build it using DOTS and run it on my Android device the UI text is not appear.
    Is it a way how to make 2D Entities work with old Unity UI?
     
  2. brunocoimbra

    brunocoimbra

    Joined:
    Sep 2, 2015
    Posts:
    658
  3. Astoret

    Astoret

    Joined:
    Jan 22, 2020
    Posts:
    7
    Yes. I saw it, but looks like they are using sprites displaying UI elements.
    E.g. they using sprites of numbers to display Lap in TinyRacing
     
  4. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    No, we are not using sprites
    The numbers in Tiny Racing are just quad mesh with unlit material