Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPreviousTime<U>(U)

Returns the previous local time of the Playable.
Read time 1 minuteLast updated 12 days ago

Definition

GetPreviousTime<T>(T)

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

Parameters

playable

T
The Playable used by this operation.

Returns

Type

Description

doubleThe previous time in seconds.

Remarks

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