示例#1
0
    public void TakeDamage()
    {
        hitCount++;


        if (hitCount > 1)
        {
            handler.score += 10;
            handler.newKill();
            Destroy(gameObject);
        }
    }