Author Topic: How to update widget localPosition right after anchor change?  (Read 3940 times)

LightStorm

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 17
    • View Profile
Hi all.

Does anybody know how to immediately recalculate local position for widget right after anchor value change?

Thanks.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to update widget localPosition right after anchor change?
« Reply #1 on: July 02, 2014, 03:43:43 AM »
ResetAnchors() followed by UpdateAnchors().