Files
FlowScope/My project/Assets/FlowScope/Runtime/UI/IUIScreenNavigator.cs
2026-05-20 15:36:10 +08:00

20 lines
401 B
C#

using System.Threading;
using System.Threading.Tasks;
namespace FlowScope.UI
{
public interface IUIScreenNavigator
{
Task<TPanel> PushAsync<TPanel, TViewModel>(
TViewModel viewModel,
CancellationToken cancellationToken)
where TPanel : UIPanelBase<TViewModel>;
bool CanGoBack { get; }
void GoBack();
void Clear();
}
}