Beispiel #1
0
    void Return()
    {
        if (m_IsTheHero)
        {
            GlobalData.DispatchPreHeroReturn();
        }

        m_Events.Returned.Invoke(new HealthEventData());

        if (m_IsTheHero)
        {
            GlobalData.DispatchHeroReturned();
        }
    }