Welcome,
Guest
. Please
login
or
register
.
April 25, 2026, 09:44:25 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Tween UIWidget Anchor
« previous
next »
Print
Pages: [
1
]
Author
Topic: Tween UIWidget Anchor (Read 2485 times)
viqtor
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 16
Tween UIWidget Anchor
«
on:
May 11, 2014, 06:36:40 AM »
Hello,
Is there a way to tween the UIWidget's Anchor? How can one write a simple script to do so? I'm thinking it should have a From Vector4 with the original offsets and a TO Vector4 with the final offsets. NGUI should definitely have this.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Tween UIWidget Anchor
«
Reply #1 on:
May 11, 2014, 08:27:28 AM »
Each anchor is 2 values, not 1. So you'd be tweening 8 things. It wouldn't be an intuitive tween.
TweenPosition, TweenWidth and TweenHeight are all capable of adjusting the anchors.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Tween UIWidget Anchor