// void Start() { //Setting Variables inStorm = false; level = 0; soundScript = this.gameObject.GetComponent<SoundManager>(); soundScript.PlaySound(0, true, 0.1f); soundScript.PlaySound(1, true, 0.1f); ballonManagerScript = ballonManager.GetComponent<BallonManager>(); clouds = (GameObject)GameObject.Instantiate(menuDeco); clouds.transform.position = cloudsPos.position; provisorio = ""; scoreScript = score.GetComponent<ScoreManipulator>(); }
void Start() { bManager = balloonsManager.GetComponent<BallonManager>(); menuScript = Camera.mainCamera.GetComponent<MenuManipulator>(); scoreScript = score.GetComponent<ScoreManipulator>(); }