Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: mikey on September 12, 2013, 02:39:41 AM
-
Hello. First of all i would like to thank you for a great package. It really saved us ton of work.
Unfortunatelly I do have a little problem what i come across with the NGUI. It is nothing wrong with your package at all. I'm trying to implement add banner on the top of my gameplay. Usually there is a bar with current player life, score and so on (all created using NGUI). When my banner add appear this information bar is underneath so its not visible. I decided to move it a bit in y axes while the banner is there. Unfortunatelly is not as easy as i thought. When i change the axes of this bar in my banner script for example pos.y = pos.y - 1 and run the game I can see the position in inspector is moved to different place lets say 480 in y axes and 2123 in z axes. It is because the UIAnchor script is attached to that object as well. What would you recommend me to do to as i cant change the UIAnchor script as it is attached to multiple objects in my scene. I only need to change it for specific gameObjects. I'm having terrible time with it so I hope you can help.
Thank you for your time and let's hope I'll get your answer soon.
-
found the solution by myself. if someone is interesting you just need to call TweenPosition.Begin(gameOjbect, 0.1f, new Vector3(0,90,0)); simple as that