ILaunchResources.cs 495 B

123456789101112131415161718
  1. using System;
  2. using System.Threading;
  3. using Cysharp.Threading.Tasks;
  4. public interface ILaunchResources
  5. {
  6. string GameSceneName { get; }
  7. string LoadedScenePath { get; }
  8. string LoadedVersion { get; }
  9. bool HasLoadedAssembly { get; }
  10. bool RequiresRestart { get; }
  11. UniTask LoadAsync(Action<string, float> progress, CancellationToken cancellationToken);
  12. void MarkEntryFailed();
  13. #if UNITY_EDITOR
  14. bool UseEditorSceneLoading { get; }
  15. void InitializeEditor();
  16. #endif
  17. }