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