ドキュメント

Unity Engine

Unity Engine

SetSpeed<U>(U, double)

Changes the speed multiplier that is applied to the the current Playable.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

SetSpeed<T>(T, double)

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

Parameters

playable

T
The Playable used by this operation.

value

The new speed.

Remarks

This affects the speed at which the local time is incremented when the Playable is playing.
Use this templated extension method on any type that inherits from IPlayable.