Esempio n. 1
0
 protected internal override bool ContainsTarget(object target, int tweenType)
 {
     for (int i = 0, n = children.Count; i < n; i++)
     {
         IBaseTween obj = children[i];
         if (obj.ContainsTarget(target, tweenType))
         {
             return(true);
         }
     }
     return(false);
 }
Esempio n. 2
0
 /// <summary>
 /// Returns true if the manager contains any valid interpolation associated
 /// to the given target object.
 /// </summary>
 /// <remarks>
 /// Returns true if the manager contains any valid interpolation associated
 /// to the given target object.
 /// </remarks>
 public virtual bool ContainsTarget(object target)
 {
     for (int i = 0, n = objects.Count; i < n; i++)
     {
         IBaseTween obj = objects[i];
         if (obj.ContainsTarget(target))
         {
             return(true);
         }
     }
     return(false);
 }