SetSpeed<U>(U, double)
Changes the speed multiplier that is applied to the the current Playable.
Read time 1 minuteLast updated 6 days ago
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.