Version: 2021.2
public static double GetDuration (U playable);

参数

playable 此操作所用的 Playable

返回

double 持续时间(以秒为单位)。

描述

返回 Playable 的持续时间。

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