Exemple #1
0
    private void OnCollisionEnter(Collision collision)
    {
        int player = Convert.ToInt32(collision.transform.tag);

        Level2.collectPoints(player);
        Destroy(gameObject);
    }