Search Unity

Transform position TO Rect Transform position (UI)

Discussion in 'Scripting' started by FabrizioSpadaro, Aug 29, 2014.

  1. FabrizioSpadaro

    FabrizioSpadaro

    Joined:
    Jul 10, 2012
    Posts:
    287
    Hi guys i have a problem,
    i want instantiate a UI text containing a combo number when the player does a combo:
    Ex:
    Combo x3 , x4 , etc

    I correctly instantiate the text object, and parent him to the canvas, but how can i set his position(Rect Transform position),using the vector2 position of the world space i need
     
  2. FabrizioSpadaro

    FabrizioSpadaro

    Joined:
    Jul 10, 2012
    Posts:
    287