Ejemplo n.º 1
0
 public void Add(BaseYieldTweenProperty prop, BaseYieldTweenProperty.PropertyOffsetMode offsetMode, EasingType easingType = EasingType.Linear, Type easingContainerType = null)
 {
     prop.Path                = Owner.Path + Prefix + prop.Path;
     prop.OffsetMode          = offsetMode;
     prop.EasingType          = easingType;
     prop.EasingContainerType = easingContainerType;
     Owner.Add(prop);
 }
Ejemplo n.º 2
0
 public YieldTween AddProperty(BaseYieldTweenProperty prop)
 {
     BaseYieldTweenProperty[] newProps = new BaseYieldTweenProperty[_props.Length + 1];
     newProps[0] = prop;
     _props.CopyTo(newProps, 1);
     _props = newProps;
     return(this);
 }
Ejemplo n.º 3
0
 public void Add(BaseYieldTweenProperty prop)
 {
     if (_owner == null)
     {
         _properties.Add(prop);
     }
     else
     {
         _owner.Add(prop);
     }
 }