CreateWall
Instantiate()
GameObject wall =
wallPre, transform
wall.transform.position=
Vector2 pos=
int index=Random.Range()
if (wallCount >=
CreateWall
Instantiate()
GameObject wall =
wallPre, transform
wall.transform.position=
Vector2 pos=
int index=Random.Range()
if (wallCount >=
使用for循环遍历存放空格子的集合,用Random.Range取一个随机的坐标,然后生成一个可以被炸掉的