static public void Populate(float x, float y, int i) { TowerBlock block = WorldGetBlock(x, y); if (block == null) { block = Instantiate(instance.blockPrefab, new Vector3(x, y, 0.0f), Quaternion.identity) as TowerBlock; block.hpos = i; instance.towerBlocks.Add(block); instance.highest = y; CameraDirector.SetNewMax(instance.highest); } }