This commit is contained in:
Arneth
2022-03-13 13:56:59 -04:00
parent f98eb96584
commit 2816ca2aff
128 changed files with 15790 additions and 1635 deletions
@@ -1,4 +1,5 @@
using System;
using System.Collections;
using Qoo.File;
using UnityEngine;
@@ -8,7 +9,7 @@ namespace Qoo.Graphics
public static class Movie
{
// Token: 0x06000165 RID: 357 RVA: 0x000066A4 File Offset: 0x000048A4
internal static void Play(string name, bool IsSkip)
internal static IEnumerator Play(string name, bool IsSkip)
{
FileId fileId = new FileId(string.Empty);
fileId.Set(name);
@@ -17,7 +18,7 @@ namespace Qoo.Graphics
Debug.Print(string.Format("INFO:Start Movie({0} Skip={1})", text, IsSkip.ToString()));
//TODO fix movie playing. either make platform specific versions OR make platform agnostic
//UnityTask.SetSubTask(MovieManager.PlayMovie(text, FullScreenMovieControlMode.CancelOnInput));
UnityTask.SetSubTask(MovieManager.PlayMovie(text, ""));
yield return MovieManager.PlayMovie(text, new GameObject());
}
}
}