Author Topic: How to change the Anchor of GameObject when use Tween Scale?  (Read 4450 times)

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
How to change the Anchor of GameObject when use Tween Scale?
« on: September 26, 2012, 09:31:03 AM »
How to change the Anchor of GameObject when scale it? if i want to scale it like this -------->|,   not this ----->|<------

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to change the Anchor of GameObject when use Tween Scale?
« Reply #1 on: September 26, 2012, 10:24:19 AM »
If a sprite is using a "Left" pivot, then it will scale like that.

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
Re: How to change the Anchor of GameObject when use Tween Scale?
« Reply #2 on: September 26, 2012, 11:48:56 AM »
If the GameObject included multiple Widgets, how to change the Pivot for the GameObject(Parent)?
Like Attachments

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to change the Anchor of GameObject when use Tween Scale?
« Reply #3 on: September 26, 2012, 01:07:07 PM »
You need to position all your the widgets using the left pivot point. The idea is that all widgets should be to the right of your game object.