...Starlink UI kit has a window manager system that automatically handles opening/hiding of windows and stores history for easy GoBack() logic. UIWindow.Show(panel) will automatically hide the current and will open the chosen one. UIWindow.GoBack() will hide the 'panel' and go back to the previous. Handy tool. I recently re-used it in Windward almost without modifications.
What do you mean? UIPlayTween has an option of what to do if the target object is disabled. Enabling is one of the options.
Does it work fine if the direction is Forward instead?No, it not work fine also if the direction is Forward...but it's always been like this I always had to use the script for disable the menu and the tweens....I have also created another simple project with a base menu but not work...
I may have a solution, but I will need more time to test its effects -- meaning I need to be home first. I'm currently on vacation, meaning away from my main PC.Ok no problem I just wanted report you this bug. I can wait you
Yeah, it's fixed in the Pro version so you'll find it in the next update.Ok thank you ! When do you release the next update?
Tweens aren't reset to original state after they complete. They remain in whatever state they ended in. So if you tween something from A to B, at the end it will remain in "B" state. If you want to reset them, do tween.ResetToBeginning() in a callback set to tween.onFinished.Yes I know it but why you not insert an option into menu editor ? so you do not necessarily have to create an script only for to do it...
Eh. You see the OnFinished section on the tween? Drag & drop the tween's game object here. Now select the ResetToBeginning function.
Done, no need to write a script. ;)
Eh. You see the OnFinished section on the tween? Drag & drop the tween's game object here. Now select the ResetToBeginning function.Hi ! I tried but not work fine because if I recall NGUITools.SetActive(Menu, true); from script, it not work because when it disable the menu after first tween reverse it disable the menu but also the tween and not reenable it also if you set ResettoBeginning
Done, no need to write a script. ;)
So... call it yourself then.Ok but I have just set ResetToBeginning from editor -> UI Play Tween --> onFinished section Notify TweenScale -> ResetToBeginning why I must use the script code ? I don't want use the script..
NGUITools.SetActive(Menu, true); Menu.GetComponent<UITweener>().ResetToBeginning();