PropertyChaining.SetLoops<T>
Extension Method in PropertyChaining
Declaration
public static T SetLoops<T>(this T tween, int loops, LoopType loopType = LoopType.Restart)
where T : TweenDescription
Sets the number of loops of the tween to the given value.
Type Parameters
| T | The type of the tween. |
Parameters
| tween | The tween to loop. |
| loops | The number of loops to set. |
| loopType | The type of loop style to set. |
Returns
| T | The tween itself to allow for chaining. |