Exemple #1
0
    private void ProcStopTweenAll()
    {
        for (int i = 0; i < iCachedTweenCount; i++)
        {
            UITweener pUITween = _listTween[i];

            pUITween.enabled = false;
            pUITween.ResetToFactor();
            pUITween.ResetToBeginning();
        }
    }
Exemple #2
0
    private void ProcStopTweenGroup(int iGroupID)
    {
        for (int i = 0; i < iCachedTweenCount; i++)
        {
            UITweener pUITween = _listTween[i];
            if (pUITween.tweenGroup != iGroupID)
            {
                continue;
            }

            pUITween.enabled = false;
            pUITween.ResetToFactor();
            pUITween.ResetToBeginning();
        }
    }
Exemple #3
0
    // ========================================================================== //

    /* private - [Proc] Function
     * 중요 로직을 처리                         */

    private void ProcPlayTweenGroup(int iGroupID, float fDelay, ETweenPlay eTweenPlay)
    {
        for (int i = 0; i < iCachedTweenCount; i++)
        {
            UITweener pUITween = _listTween[i];
            if (pUITween.tweenGroup != iGroupID)
            {
                continue;
            }

            if (fDelay > 0f)
            {
                pUITween.delay = fDelay;
            }

            pUITween.ResetToFactor();
            pUITween.Play(eTweenPlay == ETweenPlay.Forward);
            pUITween.ResetToBeginning();
        }
    }