Esempio n. 1
0
 public static GoTween shake(this Transform self, float duration, Vector3 shakeMagnitude, GoShakeType shakeType = GoShakeType.Position, int frameMod = 1, bool useLocalProperties = false)
 {
     return(Go.to(self, duration, new GoTweenConfig().shake(shakeMagnitude, shakeType, frameMod, useLocalProperties)));
 }
Esempio n. 2
0
 public static GoTween colorTo(this Material self, float duration, Color endValue, string colorName = "_Color")
 {
     return(Go.to(self, duration, new GoTweenConfig().materialColor(endValue, colorName)));
 }
Esempio n. 3
0
 public static GoTween scaleTo(this Transform self, float duration, Vector3 endValue, bool isRelative = false)
 {
     return(Go.to(self, duration, new GoTweenConfig().scale(endValue, isRelative)));
 }