新增 FlowScope Git 包雏形
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using FlowScope.Resources;
|
||||
using UnityEngine;
|
||||
|
||||
namespace FlowScope.UI
|
||||
{
|
||||
public interface IUIPreloadService
|
||||
{
|
||||
Task PreloadAsync<TPanel>(CancellationToken cancellationToken);
|
||||
bool IsPreloaded<TPanel>();
|
||||
bool TryGetPreloadedHandle<TPanel>(out IResourceHandle<GameObject> handle);
|
||||
void Release<TPanel>();
|
||||
void ReleaseAll();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user