Ejemplo n.º 1
0
 void OnCollisionEnter2D(Collision2D coll)
 {
     if (coll.gameObject.tag == "Player")
     {
         answer.SetVisible(true);
     }
 }
Ejemplo n.º 2
0
 void OnCollisionEnter2D(Collision2D coll)
 {
     // Pri sudir so igracot go pokazuvame
     if (coll.gameObject.tag == "Player")
     {
         answer.SetVisible(true);
     }
 }
Ejemplo n.º 3
0
 void Start()
 {
     // Go zemame objektot
     answer = GetComponentInChildren <AnswerDialog> ();
     // Na pocetok e nevidliv
     answer.SetVisible(false);
 }
Ejemplo n.º 4
0
 void Start()
 {
     answer = GetComponentInChildren <AnswerDialog> ();
     answer.SetVisible(false);
 }