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