Stuck cinematics
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
using UnityEngine;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Linq;
|
||||
using UnityEngine.Events;
|
||||
using UnityEngine.Playables;
|
||||
using AppleHills.Core.Interfaces;
|
||||
using AppleHills.Core.Settings;
|
||||
using Utility;
|
||||
using AppleHills.Core.Interfaces;
|
||||
using Cinematics;
|
||||
using Core;
|
||||
using Input;
|
||||
using UI;
|
||||
using Minigames.DivingForPictures.PictureCamera;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using UI;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
using UnityEngine.Playables;
|
||||
using Utility;
|
||||
|
||||
namespace Minigames.DivingForPictures
|
||||
{
|
||||
@@ -672,8 +673,12 @@ namespace Minigames.DivingForPictures
|
||||
// Play the timeline
|
||||
if (surfacingTimeline != null)
|
||||
{
|
||||
surfacingTimeline.Play();
|
||||
Logging.Debug("[DivingGameManager] Last tile left the screen, playing timeline");
|
||||
//Instead of surfacingTimeline, play the outro cinematic
|
||||
Debug.Log("Why am I stuck??");
|
||||
//CinematicsManager.Instance.LoadAndPlayCinematic("MinigameOutroPlayable");
|
||||
//surfacingTimeline.Play();
|
||||
//Logging.Debug("[DivingGameManager] Last tile left the screen, playing timeline");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
using UnityEngine;
|
||||
using AppleHills.Core.Settings;
|
||||
using Input;
|
||||
using AppleHills.Core.Settings;
|
||||
using AppleHillsCamera;
|
||||
using Cinematics;
|
||||
using Core;
|
||||
using Input;
|
||||
using UnityEditor.Search;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Minigames.DivingForPictures
|
||||
{
|
||||
@@ -255,5 +257,6 @@ namespace Minigames.DivingForPictures
|
||||
{
|
||||
_originY = edgeAnchor.transform.position.y;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user