16 lines
409 B
C#
16 lines
409 B
C#
using Cysharp.Threading.Tasks;
|
|
using UnityEngine.SceneManagement;
|
|
namespace PhxhSDK.Res
|
|
{
|
|
public interface ISceneLoader
|
|
{
|
|
|
|
UniTask<SceneHandle> LoadSceneAsync(string scenePath,
|
|
LoadSceneMode mode = LoadSceneMode.Single);
|
|
UniTask UnLoadSceneAsync(string scenePath);
|
|
float GetSceneLoadingProgress(string scenePath);
|
|
bool useLowScene { get; set; }
|
|
|
|
}
|
|
}
|