public static Sequence FTJumpScale(this Actor actor, float time, float strength = 2, int jumps = 2, float randomness = 2) { return(Vector3FTweener.Jump(() => actor.LocalScale, (y) => actor.LocalScale = y, actor.LocalScale, time, strength, jumps, randomness)); }
public static Sequence FTJumpRotation(this Actor actor, float time, float strength = 90, int jumps = 10, float randomness = 90) { return(Vector3FTweener.Jump(() => actor.LocalEulerAngles, (y) => actor.LocalEulerAngles = y, actor.LocalEulerAngles, time, strength, jumps, randomness)); }