mirror of
https://github.com/Bragin-Stepan/project-entity.git
synced 2026-03-05 15:51:10 +00:00
25 lines
791 B
C#
25 lines
791 B
C#
using _Project.Develop.Runtime.UI.Core;
|
|
using UnityEngine;
|
|
|
|
namespace _Project.Develop.Runtime.UI.Screens.Gameplay
|
|
{
|
|
public class GameplayPopupService : PopupService
|
|
{
|
|
private readonly GameplayUIRoot _uiRoot;
|
|
private readonly GameplayPresentersFactory _gameplayPresentersFactory;
|
|
|
|
public GameplayPopupService(
|
|
ViewsFactory viewsFactory,
|
|
ProjectPresentersFactory presentersFactory,
|
|
GameplayUIRoot uiRoot,
|
|
GameplayPresentersFactory gameplayPresentersFactory)
|
|
: base(viewsFactory, presentersFactory)
|
|
{
|
|
_uiRoot = uiRoot;
|
|
_gameplayPresentersFactory = gameplayPresentersFactory;
|
|
}
|
|
|
|
protected override Transform PopupLayer => _uiRoot.PopupsLayer;
|
|
}
|
|
}
|