文档

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.