Пример #1
0
    private void OnTriggerEnter(Collider other)
    {
        if (other.tag == "Player")
        {
            foreach (TPObject p in _noCollideList)
            {
                if (p.player == other.gameObject)
                {
                    return;
                }
            }

            partner.AcceptPlayer(other.transform);
        }
    }