ドキュメント

Unity Engine

Unity Engine

SetDuration<U>(U, double)

Changes the duration of the Playable.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

SetDuration<T>(T, double)

public static void SetDuration<U>(this U playable, double value) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

value

The new duration in seconds, must be a positive value.

Remarks

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