Пример #1
0
    private void OnCollisionEnter2D(Collision2D other)
    {
        CarAI c = other.transform.GetComponent <CarAI>();

        if (c != null)
        {
            c.TellMngerDied();
        }
    }