public void Destroying()
{
destroyPlatforms = GameObject.FindGameObjectsWithTag("Platform");
for (int i2 = 0; i2 < destroyPlatforms.Length; i2++)
{
//Thread.Sleep(1000);
Destroy(destroyPlatforms[i2]);
}
StartCoroutine("Spawning");
}