예제 #1
0
 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)));
 }
예제 #2
0
 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);
 }