private void drawSlots()
{
int predio = 0;
int slot = 0;
while(predio != 0 && slot != 9){ // 0 == NULL WARNING
slot++;
predio = SlotPredios[slot];
if (predio != 0){ // 0 == NULL WARNING
if (predio == 1)
GUI.Label (new Rect (527 + 33*slot,16,ComandoOxTexture.width,ComandoOxTexture.height), ComandoOxTexture);
if (predio == 2)
GUI.Label (new Rect (527 + 33*slot,16,LabOxTexture.width,LabOxTexture.height), LabOxTexture);
if (predio == 3)
GUI.Label (new Rect (527 + 33*slot,16,SegurancaOxTexture.width,SegurancaOxTexture.height), SegurancaOxTexture);
if (predio == 4)
GUI.Label (new Rect (527+ 33*slot,16,FazendaOxTexture.width,FazendaOxTexture.height), FazendaOxTexture);
if (predio == 5)
GUI.Label (new Rect (527 + 33*slot,16,FabricaOxTexture.width,FabricaOxTexture.height), FabricaOxTexture);
}
}
}