changes
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user