예제 #1
0
    void OnCollisionEnter(Collision other)
    {
        GameObject x = Instantiate(brickParticle, transform.position, Quaternion.identity);

        game_manager_.DestroyBrick();
        gameObject.SetActive(false);
        Destroy(x, 5);
    }