void Start()
 {
     anim                    = this.GetComponent <Animator>();
     handMonkeyback          = GameObject.Find("handMonkey").GetComponent <handMonkey_Level_01>();
     monkey                  = GameObject.Find("monkey").GetComponent <monkey_Level_01>();
     timerMeercatMoneyScript = GameObject.Find("timerObject_10seconds").GetComponent <timerMeercatMoney_level_01>();
 }
Ejemplo n.º 2
0
	void Start ()
	{

		AudioSource[] audios = GetComponents<AudioSource>();
		drag = audios[0];
		zebraDone = audios[1];

		highLightZebra = GameObject.Find ("highLightZebra");
		handZebra = GameObject.Find ("handZebra");
		hintTimer = GameObject.Find ("hintTimer");
		hintExcellent = GameObject.Find ("hintExcellent");
		hintZebra = GameObject.Find ("hintZebra");
		zebraDummy = GameObject.Find ("zebraDummy");
		timerObjectZebra = GameObject.Find ("timerObjectZebra");

		timerZebra = GameObject.Find ("timerObjectZebra").GetComponent<timerZebra_Level_01>();
		monkeyFinishedCheck = GameObject.Find ("monkey").GetComponent<monkey_Level_01>();

		anim = this.GetComponent<Animator>();
		highLightZebraPositon = highLightZebra.transform.position;

	}