예제 #1
0
    private void destroy()
    {
        if (!reported)
        {
            wg.enemyCount--;
            if (wg.enemyCount == 0)
            {
                wg.NextWave();
            }

            analytics.IncreaseMeleeKillCount();
            reported = true;
        }
        Destroy(gameObject);
    }