Hi Guys
I am a little stuck over an issue im having with the UICenter on child feature.
Here is what I have:
- Panel with Draggable Panel
- Grid (has grid script and centre on child)
- Information Pages (contain textures and buttons, and draggable contents script) x4
Now the problem im having is that when I drag a new information page in (think of dragging a full screen across on an ipad), it comes in smoothly, and then when the image gets fully into the scene (the image is a little smaller than fullscreen), it jumps to the center of the screen.
The amount it jumps/snaps seems to be the equivalent of the gap that is around my texture on the x axis? So for example my screen resolution is 1024x768 and my texture is 940x700.
so to clarify once my image is fully in the scene (the back edge of the image is flush with the edge of the screen), it snaps to the center so that the gap around the edge is visible.
I cant seem to get my head around why this is, but I have a feeling it is to do with the size of my panels?
Thanks for any help anyone can provide.
Also let me know if more information would help?
Thanks
Sigh
Thought some images may help to clarify even more.
here is the first, the image is coming in from the left, and it travels smoothly until it reaches this point:

Then what it looks like after it snaps:
