Пример #1
0
    public void CloseColorPalette()
    {
        HideTouchToDrawInfo();

        iconPaletteTweenOpen.PlayReverse();
        colorPaletteTweenOpen.PlayReverse();
        AllColorTweenOn();

        uiState = UIState.AllClosed;
    }
Пример #2
0
    public void CloseInfoPalette()
    {
        iconPaletteTweenOpen.PlayReverse();
        infoPaletteTweenOpen.PlayReverse();

        AllColorTweenOn();

        uiState = UIState.AllClosed;
    }
Пример #3
0
    public void QuitAnimation(EventDelegate.Callback onComplete)
    {
        if (tt == null)
        {
            return;
        }
        tt.PlayReverse();
        if (onComplete == null)
        {
            return;
        }

        EventDelegate.Set(tt.onFinished, onComplete);
    }