Example #1
0
    public override void Execute(object data)
    {
        FinalScoreUI finalScoreUI = GetView <FinalScoreUI>();

        finalScoreUI.gameObject.SetActive(true);
        finalScoreUI.UpdateUIMessage();
    }
Example #2
0
    public override void Execute(object data = null)
    {
        GameModel    gameModel    = GetModel <GameModel>();
        FinalScoreUI finalScoreUI = GetView <FinalScoreUI>();

        gameModel.IsOver = true;
        finalScoreUI.gameObject.SetActive(true);
        finalScoreUI.UpdateUIMessage();
    }