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

TThe type of the tween.

Parameters

tweenThe tween to assign the id to.
idThe id to set.

Returns

TThe tween itself to allow for chaining.