Exemple #1
0
    // 跳跃动效, "transform":目标, "endValue":目标位置, "duration":时间, "jumpNum":期间跳N次,"ease":动效值
    public static Sequence DoJump(Transform transform, Vector3 endValue, float duration, int jumpNum, int ease)
    {
        Sequence t = ShortcutExtensions.DOJump(transform, endValue, jumpNum, duration);

        t.SetEase((Ease)ease);
        return(t);
    }