private IEnumerator RespawnBlocks(RespawnBlock respawnBlock, float respawnTime) { yield return(new WaitForSeconds(respawnTime)); respawnBlock.ResetBlock(); }
public void RespawnRespawnBlocks(RespawnBlock respawnBlock, float respawnTime) { StartCoroutine(RespawnBlocks(respawnBlock, respawnTime)); }