예제 #1
0
	// Use this for initialization
	void Start () 
	{
		//rotation = transform.rotation;
		player = GameObject.Find ("Player").GetComponent<Comp_Player> ();


	}
예제 #2
0
 void Start()
 {
     //Vida = GameObject.Find ("Vidas").GetComponent<comp_vida> ();
     player = GameObject.Find("Player").GetComponent <Comp_Player> ();
 }
예제 #3
0
 // Use this for initialization
 void Start()
 {
     counter_current = start_value;
     comp_HUD_atlas  = GameObject.Find("Vidas").GetComponent <Comp_HUD_Atlas> ();
     Speed           = GameObject.Find("Player").GetComponent <Comp_Player> ();
 }
예제 #4
0
	void Start () 
	{
		//Vida = GameObject.Find ("Vidas").GetComponent<comp_vida> ();
		player = GameObject.Find ("Player").GetComponent<Comp_Player> ();
	}
예제 #5
0
		// Use this for initialization
		void Start ()
		{
			counter_current = start_value;
			comp_HUD_atlas = GameObject.Find ("Vidas").GetComponent<Comp_HUD_Atlas> ();
		    Speed = GameObject.Find ("Player").GetComponent<Comp_Player> ();
		}
예제 #6
0
 // Use this for initialization
 void Start()
 {
     //rotation = transform.rotation;
     player = GameObject.Find("Player").GetComponent <Comp_Player> ();
 }