I used NGUI 2.6.4 in a previous project. Now in a new project I am using the latest NGUI 3.0.9f4.
Somehow I cannot achieve some simple effects that I used to do in 2.6.4. Basically its a simple click pause button, bring out paused menu with resume button, click resume button, hide paused menu, show pause button scenario.
1. Empty Parent GameObject A is the parent of a label (player score) and a sprite with button script and collider - this is the pause button. The empty gameobject has a Tween Alpha going from 0 to 1.
2. Empty Parent GameObject B is the parent of a label and a sprite with button script and collider - tis is resume button. The empty gameobject has a Tween Alpha going from 0 to 1
Initially GameObject A is active/visible and GameObject B is inactive/hidden. When I click the sprite on GameObjectA, I want to fadeout/disable GameObjectA and enable/fadein GameObject B and vice versa.
SO I have 2 "Play Tween"s on pause button and on resume button.
There are two issues that I am facing.
1. The Alpha fadein/out only seem to work on the first child i.e. on the label
2. The fadein/out effect only works the first time. After the first time it appears and disappears ( no tweening).