public IEnumerator RunLevel(GameLevel level)
    {
        GameEvent nextEvent = level.GetNextEvent();

        while (nextEvent != null)
        {
            yield return(nextEvent.Run());

            if (IsPlayerDead)
            {
                CanvasManager.instance.Get <KillScreen>(UIPanelID.KillScreen).Open();
                yield break;
            }
            else
            {
                nextEvent = level.GetNextEvent();
            }
        }
    }