12 lines
390 B
C#
12 lines
390 B
C#
using System;
|
|
using Cysharp.Threading.Tasks;
|
|
|
|
namespace Code.Scenes
|
|
{
|
|
public interface ISceneLoaderService
|
|
{
|
|
UniTaskVoid LoadSceneAsync(string sceneName, float waitFor = 0f, Action callBack = null);
|
|
UniTaskVoid LoadSceneAsync(int sceneId, float waitFor = 0f, Action callBack = null);
|
|
UniTask LoadSceneAsyncAwaitable(int sceneId, float waitFor = 0f);
|
|
}
|
|
} |