Files
2026-02-18 23:02:28 +05:00

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;
}
}