Forest_Client/Forest/Assets/PhxhSDK/Phxh/Res/ISceneLoader.cs

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