How do I use NGUI with Javascript?
What does this warning mean?
“Parent of “ABC” does not have a uniform absolute scale. Consider re-parenting to a uniformly-scaled game object instead.”
Scales of all parents leading up to your widgets must be (1, 1, 1), with the lone exception of UIRoot. If you do choose to scale something, do so uniformly — meaning all 3 scale dimensions (X, Y and Z) must have a matching value. For example: (0.25, 0.25, 0.25). This means you shouldn’t parent one widget to another. Parent them both to another game object instead.
In my project none of the mouse events seem to affect the UI. Why?
Edit -> Project Settings -> Physics
Raycast Hit Triggers [X] -– must be checked.
How to change the text of a label dynamically?
UILabel lbl = GetComponent<UILabel>();
lbl.text = "Hello World!";
I will be expanding this post with more questions and answers in the future.