# TimeData(double, float)

> Create a new TimeData struct with the given values.

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.Core](/engine/7000.0/script-reference/unity/core.md)
* **Assembly:** UnityEngine.EntitiesModule

```csharp
public TimeData(double elapsedTime, float deltaTime)
```

### Parameters

**** (\[double]\(https\://learn.microsoft.com/dotnet/api/system.double)): Time since the start of time collection.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Elapsed time since the last time-updating event occurred.
