Search Unity

Tag not work in children gameobject

Discussion in 'Scripting' started by FraMarSaMi, Sep 23, 2014.

  1. FraMarSaMi

    FraMarSaMi

    Joined:
    May 13, 2014
    Posts:
    86
    In Unity 4.5.x I have one parent GameObject set "Untagged" and same GameObject tagged "TR".
    If the player collide with one GameObject "TR" the collider.tag is always "Untagged" such us the parent's gameobject tag. Why ?

    thanks
     
  2. MrPriest

    MrPriest

    Joined:
    Mar 17, 2014
    Posts:
    202