Beispiel #1
0
        // Token: 0x06002AE5 RID: 10981 RVA: 0x004701B4 File Offset: 0x0046E3B4
        public static uTweenText Begin(Text label, float duration, float delay, float from, float to)
        {
            uTweenText uTweenText = uTweener.Begin <uTweenText>(label.gameObject, duration);

            uTweenText.from  = from;
            uTweenText.to    = to;
            uTweenText.delay = delay;
            if (duration <= 0f)
            {
                uTweenText.Sample(1f, true);
                uTweenText.enabled = false;
            }
            return(uTweenText);
        }
Beispiel #2
0
        public static uTweenText Begin(Text label, float duration, float delay, float from, float to)
        {
            uTweenText comp = uTweener.Begin <uTweenText>(label.gameObject, duration);

            comp.from  = from;
            comp.to    = to;
            comp.delay = delay;

            if (duration <= 0)
            {
                comp.Sample(1, true);
                comp.enabled = false;
            }
            return(comp);
        }