Exemple #1
0
	// Use this for initialization
	void Start () {
		gameControl = GameObject.Find("GameControl").GetComponent("GameControl") as GameControl;
		mod			= gameObject.GetComponent<Modifier>();
		boot_boom	= PlayerPrefs.GetInt("Boot_Boom");
		item_revive		= PlayerPrefs.GetInt("Revive");

		_fb = gameObject.GetComponent<GUIFB>();
	}
Exemple #2
0
	// Use this for initialization
	void Start () {
		gameControl = GameObject.Find("GameControl").GetComponent("GameControl") as GameControl;
		gp 			= GameObject.Find("GameControl").GetComponent<GamePlay>();
		mod 		= gameObject.GetComponent<Modifier>();
		boot_rocket = PlayerPrefs.GetInt("Boot_Rocket");
		if(AudioListener.volume > 0){
			SoundIndex = 0;
		}else{
			SoundIndex = 1;
		}
		_fb = gameObject.GetComponent<GUIFB>();
	}
Exemple #3
0
	void Start () {
		fb  = gameObject.GetComponent<GUIFB>();
		mod = gameObject.GetComponent<Modifier>();
		gp 	= GameObject.Find("GameControl").GetComponent<GamePlay>();
		gc  = GameObject.Find("GameControl").GetComponent("GameControl") as GameControl;
	}