Author Topic: How to set scale relatively?  (Read 3195 times)

yuyaokada

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 5
    • View Profile
How to set scale relatively?
« on: June 07, 2014, 10:38:15 AM »
I want to change UIWidget size relatively as localScale but we cannot use localScale with UIWidget.
How should I do?

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: How to set scale relatively?
« Reply #1 on: June 07, 2014, 08:19:01 PM »
Relative to what? The parents?

In that case, you can use the globalScale (lossyScale) and use the value as a modifier on the widget. It's generally a mess to do so, I think though.