Exemple #1
0
    /// <summary>
    /// Removes the Tween component on the given GameObject with the given TweenType
    /// </summary>
    public static void RemoveTween(GameObject obj, TweenType tweenType)
    {
        Tween tweenObject = GetTween(obj, tweenType);

        if (tweenObject != null)
        {
            tweenObject.DestroyTween();
        }
    }