Answer by Alec Slayden
You have nested it in your switch statement. Just move it outside the next closing bracket.
View ArticleAnswer by Uzquiano
Hi,Obviously, because it is inside the 'switch(buildingType)' so if it goes always to any case the 'switch' statement is over because of the 'break'It should be something like thisswitch (buildingType)...
View ArticleAnswer by Scribe
var ground : GameObject; var numberOfBuildings : int = 20; var inititalBuildingNumber : int =20; var numberOfRows : int = 5; var building1 : GameObject; var building2 : GameObject; var building3 :...
View ArticleAnswer by Alec-Slayden
You have nested it in your switch statement. Just move it outside the next closing bracket.
View ArticleAnswer by Uzquiano
Hi,Obviously, because it is inside the 'switch(buildingType)' so if it goes always to any case the 'switch' statement is over because of the 'break'It should be something like thisswitch (buildingType)...
View ArticleAnswer by Scribe
var ground : GameObject; var numberOfBuildings : int = 20; var inititalBuildingNumber : int =20; var numberOfRows : int = 5; var building1 : GameObject; var building2 : GameObject; var building3 :...
View Article