Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Vicky

Pages: [1]
1
Because ScreenSizeChanged only be called on android. And on ios the screen size won't be changed unless you allow your app running on both portrait and landscape.

You may try to reproduce this issue in editor by change resolution in editor's Game view.

2
NGUI 3 Support / Re: UICamera Lateupdate change
« on: September 13, 2016, 02:06:11 PM »
Most of menu resources in out game were saved and used as prefabs. We create objects dynamically in game from those prefabs when we need to use them.

In this case, we have to manually assign the anchor targets every time when we create the object because the UICamera won't be packed in the prefab. And we might have multiply game object need to use UICamera as anchor. To simplify that operation, it's better create one game object which has the anchoring and everything else use it as reference. So we only need to assign UICamera to that one object.

Then this object has no different than UIStretch except we have to manually to setup UICamera for it.

As we still have UIStretch available I don't see why the way than another.

Can we just keep using UIStretch? With the suggest fixing mentioned in origin post?

3
NGUI 3 Support / Re: UICamera Lateupdate change
« on: September 12, 2016, 12:38:18 PM »
It was because we didn't find another way to have a sprite extended width to match the width of the screen width other than using an UIStreth object as anchor target.

Do you have suggestion or example on what we can do for that requirement?

Pages: [1]