void OnGUI() { if (tutorialReady) { if (showTutorial) { zymeScript.setDraw(true); zymeScript.setShowButton(true); zymeScript.setImage(zymePopupImage); Time.timeScale = .01f; } } }
// draw the zyme pop up box and the circle void OnGUI() { if (showTutorial) { zymeScript.setDrawZymeLeft(); zymeScript.setImage(zymePopupImage); zymeScript.setDraw(true); zymeScript.setShowButton(true); Time.timeScale = .01f; GUI.DrawTexture(new Rect(0.84f * Screen.width, .82f * Screen.height, .16f * Screen.width, .17f * Screen.height), circle); } }