public void Stop(UITweenInstance inst, bool complete) { if (complete) { inst.RenderPercent(1.0f); } lock (m_ActiveTweens) { m_ActiveTweens.Remove(inst); } }
public UITweenInstance To(object obj, float duration, Dictionary <string, float> args, EaseFunction ease) { var inst = new UITweenInstance(this, obj, duration, args, ease); lock (m_ActiveTweens) { m_ActiveTweens.Add(inst); } inst.Start(); return(inst); }
public UITweenInstance To(object obj, float duration, Dictionary<string, float> args, EaseFunction ease) { var inst = new UITweenInstance(this, obj, duration, args, ease); lock (m_ActiveTweens) { m_ActiveTweens.Add(inst); } inst.Start(); return inst; }
void tween_OnComplete(UITweenInstance tween, float progress) { InTween = false; CheckPreloadLabel(); }