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 - ekhnaton

Pages: [1]
NGUI 3 Support / Re: nGUI tween scale label problem
« on: December 01, 2016, 04:14:31 PM »
Here is a very basic question: can I make a responsive UI in nGUI without anchoring all elements to UI Root or each other? (and if there is no other way, why this tween animation not compatible with them?)

NGUI 3 Support / Re: nGUI tween scale label problem
« on: December 01, 2016, 03:48:47 PM »
Okay, you were right about the tween is confusing the table cell positions because of other table element's anchors.

I found a basic solution: I switched the table cell alignment from "top left" to "top".

This works smooth, but only if every table element's transform.X = 0. Otherwise 'weird things happen'.

Problem is, that every tween motion adds a number to all gameobject's transform.X, and after 3-4 tweens the whole table blows up. I could write a function that always set transform.X=0, but it seems a really clumsy way to solve this.

Another question: I'm not experienced in nGUI, I came to Unity from web dev, and in html is soooo much easier to make anything like this UI. Why is a responsive scrollview with some things in it so awfully hard to make? Is it too much for nGUI, or am I doing it in a very wrong way? (I worked weeks on this **** scrollview - still doesn't work properly, and in html it would take 20-30 minutes to make alltogether - I'm very frustrated :) )

Thanks, - and sorry for my lang, I'm not native english speaker

NGUI 3 Support / Re: nGUI tween scale label problem
« on: December 01, 2016, 02:55:15 PM »
Thanks for your answer.

Actually I don't think it is because of the anchoring. If I turn of the tween child label's anchors, it also doeas the same, except the label does not show at all. (it shows up -580px left)

Any other idea what causes this?


NGUI 3 Support / nGUI tween scale label problem
« on: November 30, 2016, 06:27:24 AM »
Hi all,

I have a mobile application with a quite too complex nGUI-based UI, and there is a label with tween scale that makes interesting error. I've made a short video of the problem:

Also screenshot to check the hierarchy and inspector:

I really need some hints about what is happening, and how to fix this.


Pages: [1]