public void LoadVis1() { if (MasterManager.GameSettings.Observer) { changeMaterial(screenOne.gameObject, "Materials/" + urlOne); changeMaterial(screenTwo.gameObject, "Materials/" + urlTwo); changeMaterial(screenThree.gameObject, "Materials/" + urlThree); changeMaterial(screenFour.gameObject, "Materials/" + urlFour); changeMaterial(screenFive.gameObject, "Materials/" + urlFive); changeMaterial(screenSix.gameObject, "Materials/" + urlSix); changeMaterial(screenSeven.gameObject, "Materials/" + urlSeven); changeMaterial(screenEight.gameObject, "Materials/" + urlEight); } else { if (!screenOne.enabled) { screenOne.startUrl = mainUrl + urlOne + ".html"; screenTwo.startUrl = mainUrl + urlTwo + ".html"; screenThree.startUrl = mainUrl + urlThree + ".html"; screenFour.startUrl = mainUrl + urlFour + ".html"; screenFive.startUrl = mainUrl + urlFive + ".html"; screenSix.startUrl = mainUrl + urlSix + ".html"; screenSeven.startUrl = mainUrl + urlSeven + ".html"; screenEight.startUrl = mainUrl + urlEight + ".html"; screenOne.enabled = true; screenTwo.enabled = true; screenThree.enabled = true; screenFour.enabled = true; screenFive.enabled = true; screenSix.enabled = true; screenSeven.enabled = true; screenEight.enabled = true; } else { screenOne.LoadURL(mainUrl + urlOne + ".html"); screenTwo.LoadURL(mainUrl + urlTwo + ".html"); screenThree.LoadURL(mainUrl + urlThree + ".html"); screenFour.LoadURL(mainUrl + urlFour + ".html"); screenFive.LoadURL(mainUrl + urlFive + ".html"); screenSix.LoadURL(mainUrl + urlSix + ".html"); screenSeven.LoadURL(mainUrl + urlSeven + ".html"); screenEight.LoadURL(mainUrl + urlEight + ".html"); } } }