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