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

Parámetros

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

Descripción

Changes the duration of the Playable.

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