Search Unity

Unity2D

Discussion in '2D' started by peakquotes, Jan 26, 2015.

  1. peakquotes

    peakquotes

    Joined:
    Jan 24, 2015
    Posts:
    2
    How can i build this block and put the cube values?
     
    Last edited: Jan 28, 2015
  2. PGJ

    PGJ

    Joined:
    Jan 21, 2014
    Posts:
    899
    Add a GameObject/UI/Text. Drag the canvas/text into your tile so that it becomes a child of your tile. Set "Render Mode" to "World Space" on the canvas. Then move the text to (0,0) or where ever you want it to be. Since the UI-parts are children of your tile, they will move/scale/rotate with it.

    If the text looks fuzzy, increase the "Dynamic Pixels Per Unit" value.