Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: badawe on July 18, 2014, 09:18:51 AM
-
So, I'm facing a bug right now that simple don't make any sense to me.
Here is the Hierarchy:
(https://www.evernote.com/shard/s37/res/ab520eeb-5641-4f3b-aa2d-6bbb1c4a97ac/skitch.png)
And I dynamically move 2 objects, the Content under Sidebar and the Menu game objects.
Just tweening to appear on screen and move back to the hiding place.
When the animation to open occurs the font stays offposition:
(https://www.evernote.com/shard/s37/sh/d74409bc-2ee7-4a40-8823-5d46332f14cb/a3fbb4e855169d54390ad128bd10ea0c/res/9d3b3c98-1700-4bd4-8ed9-8e9ccd650837/skitch.png?resizeSmall&width=832)
But in the scene view, you can see the bounding box of the object is in the right place:
(https://www.evernote.com/shard/s37/res/9f312805-d742-4b90-80e7-5c9117ed6d8d/skitch.png?resizeSmall&width=1340)
But if I move the object by dragging this in the scene view, everything works perfect:
(https://www.evernote.com/shard/s37/sh/e134880b-0bc3-4951-a959-7ee39b85e15d/799a7b045cbfa7a664b0e2e6427913ac/res/f742fd2d-64cd-44b6-9fae-9c6cfc307830/skitch.png?resizeSmall&width=832)
-
I discovered what is going on.
Enable the Gameobject before animation, and disable after the hide, are causing this issue.