11 lines
316 B
C#
11 lines
316 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);
|
|
}
|
|
} |