Search Unity

Translate GuiText

Discussion in 'Scripting' started by eggert, Jul 26, 2007.

  1. eggert

    eggert

    Joined:
    Jul 26, 2007
    Posts:
    9
    hi, sort of a newbee question

    is it possible to translate guiText with a script?
    if so.. how? :)

    thanks,
    Eggert
     
  2. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Yep, you do it pretty much the same way as any other object, the main difference being that you're working in screen space. Which is to say, typically the values are 0..1.

    --Eric
     
    einzweidrei likes this.
  3. eggert

    eggert

    Joined:
    Jul 26, 2007
    Posts:
    9
    Thank you..
    got it..
     
  4. Omar Rojo

    Omar Rojo

    Joined:
    Jan 4, 2007
    Posts:
    494
    Next time just ask how to do it because with Unity everything in possible 8)

    .ORG
     
  5. eggert

    eggert

    Joined:
    Jul 26, 2007
    Posts:
    9
    willdo :)