Summary
Get the closest Data at given time
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime .TimeData - Containing Type
- TimeLine
Syntax
public TimeLine.TimeData<T> GetClosestDataAtTime<T>(float time, Guid timeAgentGuid, string dataId)
Type Parameters
Name | Description |
---|---|
T | The generic type of the searched data |
Parameters
Name | Type | Description |
---|---|---|
time | float | The searched time |
timeAgentGuid | Guid | The search TimeAgent's guid |
dataId | string | The searched dataId |
Return Value
Type | Description |
---|---|
TimeLine |
The closest data for the time or generic type default if data don't exist |