Version: 2018.1
public static void SetDuration (U playable, double value);


playableThe Playable used by this operation.
valueThe new duration in seconds, must be a positive value.


Changes the duration of the Playable.

NOTE: This is a templated extension method that can be used on any type that inherits from IPlayable