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

参数

playable 此操作所用的 Playable
value 新持续时间(以秒为单位),必须为正值。

描述

更改 Playable 的持续时间。

Use this templated extension method on any type that inherits from IPlayable.