PropertyChaining.SetId<T>
Extension Method in PropertyChaining
Declaration
public static T SetId<T>(this T tween, int id)
where T : Tween
Description
Sets the id of the tween to the given value.
Type Parameters
T | The type of the tween. |
Parameters
tween | The tween to assign the id to. |
id | The id to set. |
Returns
T | The tween itself to allow for chaining. |