---
description: function in SpawnerGraph
---

# GetSpawnEnemyDataByTime

### Declaration

public [SpawnEnemyData](../spawnenemydata) GetSpawnEnemyDataByTime(int round, float time);

### Parameters

<table data-header-hidden><thead><tr><th width="178"></th><th></th></tr></thead><tbody><tr><td>round</td><td>The round you want to get enemies from</td></tr><tr><td>time</td><td>Time must be greater than spawn time, to return that <a href="../spawnenemydata">SpawnEnemyData</a></td></tr></tbody></table>

### Returns

[**SpawnEnemyData**](../spawnenemydata) **-** Returns [SpawnEnemyData](../spawnenemydata) if time is greater than an enemy spawn time in the given round

### Description

It returns [SpawnEnemyData](../spawnenemydata) if time is achieved.
