Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    679
  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