void OnGUI()
{
allRects = new ArrayList();
NivelOxigenioFloat = playerScript.oxygenLevel / 500;
GUI.Label (AddRect(new Rect (8,4,BoxMapaTexture.width,BoxMapaTexture.height)), BoxMapaTexture);
GUI.Label (AddRect(new Rect (150,10,RadarTextureON.width*3,RadarTextureON.height*3)), RadarTextureON);
GUI.Label (AddRect(new Rect (950,10,MenuTextureON.width *3,MenuTextureON.height*3)), MenuTextureON);
GUI.Label (AddRect(new Rect (210,5,BoxMetalTexture.width,BoxMetalTexture.height)), BoxMetalTexture);
GUI.skin = skin;
GUI.Label(new Rect (280, 22,120,100),playerScript.metalLevel.ToString());
GUI.skin = null;
GUI.Label (AddRect(new Rect (380,5,BoxOxigenioTexture.width,BoxOxigenioTexture.height)), BoxOxigenioTexture);
for ( int x = 556 ; x < 560 + (NivelOxigenioFloat * 280); x = x +4){
GUI.Label (new Rect (x,16,4,38), NivelOxigenioTexture);
}
GUI.Label (new Rect (550,10,ReguaOxigenioTexture.width,ReguaOxigenioTexture.height), ReguaOxigenioTexture);
drawSlots();
drawMonkeys();
drawBuilding();
}