15 lines
397 B
C#
15 lines
397 B
C#
using System;
|
|
using Code.UI.Panels;
|
|
using Cysharp.Threading.Tasks;
|
|
|
|
namespace Code.UI
|
|
{
|
|
public interface IUIService
|
|
{
|
|
void SwitchPanelTo(UIPanel uiPanel, Action callback = null);
|
|
UniTask AsyncSwitchPanelTo(UIPanel uiPanel);
|
|
UIElement CurrentPanel { get; }
|
|
LoadingScreen LoadingScreen { get; }
|
|
UniTask Initialize(LoadingScreen loadingScreen);
|
|
}
|
|
} |