void Start () {
// for (int i=-1; i>-6; i--) {
// for(int y=1;y<5;y++){
//
// GameObject.Instantiate (zhuankuai, new Vector3 (i,y,0), Quaternion.identity);
// }
//
// }
// int x = 0;
// int y = 0;
// while (y<=8) {
// x=0;
// while (x<=8) {
// GameObject.Instantiate (zhuankuai, new Vector3 (x, y, 0), Quaternion.identity);
// x++;
// }
// for (int i=-1; i>-6; i--) {
// for(int y=1;y<5;y++){
//
// GameObject.Instantiate (zhuankuai, new Vector3 (i,y,0), Quaternion.identity);
// }
//
// }
// int x = 0;
// int y = 0;
// while (y<=8) {
// x=0;
// while (x<=8) {
// GameObject.Instantiate (zhuankuai, new Vector3 (x, y, 0), Quaternion.identity);
// x++;
// }
// y++;
//只显示奇数
int i = 1;
while(i<=100){
if(i%2!=1){
i++;
continue;
}
print(i);
i++;
}
//镂空的墙 只显示一半
for (int i=0; i>=-8; i--) {
for(int y=0;y<=8;y++){
if(i<=-1 && i>=-7 && y>=1 && y<=7){
continue;
}
GameObject.Instantiate (zhuankuai, new Vector3 (i,y,0), Quaternion.identity);
}
if(i==-4){
break;
}
}