Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSpeed<U>(U)

Returns the speed multiplier that is applied to the the current Playable.
Read time 1 minuteLast updated 6 days ago

Definition

GetSpeed<T>(T)

public static double GetSpeed<U>(this U playable) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

Returns

Type

Description

doubleThe current speed.

Remarks

Use this templated extension method on any type that inherits from IPlayable.