SetDuration<U>(U, double)
Changes the duration of the Playable.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
SetDuration<T>(T, double)
public static void SetDuration<U>(this U playable, double value) where U : struct, IPlayable
Parameters
Remarks
Use this templated extension method on any type that inherits from IPlayable.