Summary
Get the tick index at given time (in seconds). The result is an approximation, the closest tick corresponding to this time is returned.
Therefore this method always returns an index, even if time does not exist in the
timeLine
- Namespace
- RedGirafeGames
.Agamotto .Scripts .Runtime - Containing Type
- TimeStone
Syntax
public int GetTickIndexAtTime(float time)
Parameters
| Name | Type | Description |
|---|---|---|
| time | float | The time searched |
Return Value
| Type | Description |
|---|---|
| int | The tick index at given time |