public void GenerateRows() // Not used { int randHeight = Random.Range(0, 4); Vector3 position; MovePlatforms(); lastActPlat = platformPool.objects[platformPool.LastDeacObj].transform.position; if (lastActPlat.x < LEFT_BOUND) { platformPool.DeactivateObject(); position = new Vector3(RIGHT_BOUND + xGAP, POSSIBLE_HEIGHTS[randHeight], 0); platformPool.ActivateObject(position); } }