Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: eliascanaza on December 28, 2012, 04:46:06 PM
-
Helo guys ...
how Change position button with effect when i clicked hover button, this effect wiil be delay or other, or there is a script to this... help me thankss...
-
I'm not sure what you're asking.
-
so.. when i will click on button, the other button will be move an other position ...
-
Make a script that implements OnClick(). Have a public variable to your other button as a gameobject (public GameObject otherButton). When OnClick is called then use TweenPosition.begin() and pass in the required variables (What you want to move, where you want to move it and how long it should take).
-
cooool ... this work cool !! BUT when i click the button A for button B move=> when i want click on button B this does restart your position ... i don't now... Iwant change position an other position ... thanksss
-
i use this function ..
TweenPosition
.Begin(gameObject, 2f,
new Vector3
(0,
500,
0));