示例#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);
 }
示例#2
0
 public void Add(BaseYieldTweenProperty prop)
 {
     if (_owner == null)
     {
         _properties.Add(prop);
     }
     else
     {
         _owner.Add(prop);
     }
 }