SetSpeed<U>(U, double)
Changes the speed multiplier that is applied to the the current Playable.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
SetSpeed<T>(T, double)
public static void SetSpeed<U>(this U playable, double value) where U : struct, IPlayable
Parameters
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.