Author Topic: [Need Quick] Change a Labels Size via Script  (Read 2158 times)

Chaosgod_Espér

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 28
    • View Profile
[Need Quick] Change a Labels Size via Script
« on: January 28, 2015, 07:45:43 AM »
hi there..

As you know, in the Scene view, you can change the Labels Widged size by drag&drop the border.

I´m currently creating Playmaker actions for NGUI, supporting nearly every function to manipulate NGUI Elements, Create new at Runtime and search for em in the Scene.


The problem now is, that the localsize of the Widged is read only. So, is there a way to resize a widged at runtime?

r.pedra

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 20
  • Posts: 131
    • View Profile
Re: [Need Quick] Change a Labels Size via Script
« Reply #1 on: January 28, 2015, 07:56:27 AM »
You have property width and height.

Chaosgod_Espér

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 28
    • View Profile
Re: [Need Quick] Change a Labels Size via Script
« Reply #2 on: January 28, 2015, 08:02:49 AM »
AH
Thanks :)