Пример #1
0
 public void OnTriggerEnter(Collider other)
 {
     if (other.tag.Equals(parent.tag))
     {
         parent.AddAlly(other.gameObject);
     }
 }