Hi Everyone! i've just grabbed the free version of ngui to test if it suits for the current project i'm developing.
i'm having some issues on a tween for a button, i have on my splash screen a button "Start", when clicked i hide it, and show 3 buttons (Easy / Normal / Hard) and start his tweens to move it in a cascade.
The thing is that if i want to show it when the previus ended his tween, the callback is not working. never calls nothing.
and another thing. after the tween finished, the buttons dont respond to clicks, they stay there, still, and after like 5 or 6 seconds the start responding.
any help on this will be really apreciated.
this is my code:
void showDificulty()
{
_startButton.SetActive(false);
_easyButton.SetActive(true);
_normalButton.SetActive(true);
_hardButton.SetActive(true);
_easyTween.from = _easyTween.position;
_easyTween.duration = 0.8f;
_easyTween
.to = new Vector3
(0,_startButton
.transform.position.y - 50,
0); _easyTween.Reset();
_easyTween.callWhenFinished = "methodNotCallingNeverHere";
_easyTween.enabled = true;
_normalTween.from = _normalTween.position;
_normalTween.duration = 0.8f;
_normalTween
.to = new Vector3
(0,_startButton
.transform.position.y - 100,
0); _normalTween.Reset();
_normalTween.enabled = true;
_hardTween.from = _hardTween.position;
_hardTween.duration = 0.8f;
_hardTween
.to = new Vector3
(0,_startButton
.transform.position.y - 150,
0); _hardTween.Reset();
_hardTween.enabled = true;
}