예제 #1
0
    void OnCollisionEnter2D(Collision2D other)
    {
        if (other.gameObject.CompareTag("Player"))
        {
            //			Instantiate(playerExplosion, other.transform.position, other.transform.rotation);

            GC.Venceu();
        }
        Destroy(other.gameObject);
        Destroy(gameObject);
    }