public static Coroutine To(this float f, float value, float needTime, YuoTweenCon.FloatTo floatTo, float addSpeed = 0, UnityAction action = null) { return(YuoTweenCon.Instance.StartCoroutine(YuoTweenCon.Instance.IFloatTo(f, value, needTime, floatTo, addSpeed, action))); }
public static void To(this float f, string name, float value, float needTime, YuoTweenCon.FloatTo floatTo, float addSpeed = 0, UnityAction action = null) { YuoTweenCon.Instance.StartTween( YuoTweenCon.Instance.IFloatTo(f, value, needTime, floatTo, addSpeed, action, name), name); }