Пример #1
0
 public static void TimeLerpValue(this Behaviour behaviour, float lerpTime, float startVal, float endVal, Action <float> func)
 {
     InvocationFlow <Behaviour> .TimeLerpValue(behaviour, lerpTime, startVal, endVal, func);
 }
 public static void TimeLerpValue <T>(float lerpTime, T startVal, T endVal, Func <T, T, float, T> lerpFunction, Action <T> func, bool scaledTime = true)
 {
     InvocationFlow <MonoBehaviour> .TimeLerpValue <T>(StaticController, lerpTime, startVal, endVal, lerpFunction, func, scaledTime);
 }
 public static void TimeLerpValue(this MonoBehaviour script, float lerpTime, Vector3 startVal, Vector3 endVal, Action <Vector3> func, bool scaledTime = true)
 {
     InvocationFlow <MonoBehaviour> .TimeLerpValue <Vector3>(script, lerpTime, startVal, endVal, Vector3.Lerp, func, scaledTime);
 }
 public static void TimeLerpValue(float lerpTime, float startVal, float endVal, Action <float> func, bool scaledTime = true)
 {
     InvocationFlow <MonoBehaviour> .TimeLerpValue(StaticController, lerpTime, startVal, endVal, func, scaledTime);
 }
 public static void TimeLerpValue(this MonoBehaviour script, float lerpTime, float startVal, float endVal, Action <float> func, bool scaledTime = true)
 {
     InvocationFlow <MonoBehaviour> .TimeLerpValue(script, lerpTime, startVal, endVal, func, scaledTime);
 }