示例#1
0
    void OnTriggerEnter(Collider other)
    {
        BallScript bs = other.GetComponent <BallScript> ();


        if (bs)
        {
            bs.Die();
            bs.DieForReal();
        }
    }