Пример #1
0
    private void RespondTo_HeroWasHit_Event()
    {
        // Fire event: Hero was hit
        HeroWasHit?.Invoke();

        // Set hero as dead on boss manager
        bossManager.SetHeroAsDead();

        // Set state as serenity
        obstacleManager.SetStateAs_Serenity();
    }