Beispiel #1
0
    public void TakeDamage()
    {
        if (!disablingAtEndOfFrame)
        {
            disablingAtEndOfFrame = true;

            // Increase score with death
            Cacher.AlterScore(scoreGiven);

            StartCoroutine(Disable());
        }
    }