public static T SetIsLocal <T>(this T t, bool isLocal) where T : Tween { Tween t1 = t; TransformTweener rt = (TransformTweener)t1; if (rt != null) { rt.IsRelative = isLocal; } return(t); }
public static T SetBaseSpeed <T>(this T t, bool baseSpeed) where T : Tween { Tween t1 = t; TransformTweener rt = (TransformTweener)t1; if (rt != null) { rt.IsSpeed = baseSpeed; } return(t); }