Added sound and cinematics managers to boot settings
This commit is contained in:
8
Assets/Scripts/Cinematics.meta
Normal file
8
Assets/Scripts/Cinematics.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dd3ff810975d29648abc89dc8361e5b3
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
16
Assets/Scripts/Cinematics/CinematicsManager.cs
Normal file
16
Assets/Scripts/Cinematics/CinematicsManager.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class CinematicsManager : MonoBehaviour
|
||||
{
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/Cinematics/CinematicsManager.cs.meta
Normal file
2
Assets/Scripts/Cinematics/CinematicsManager.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4e3cd69fd77a22640aa40e691d8d6c26
|
||||
@@ -34,7 +34,7 @@ public class TakePhotoState : State
|
||||
playerTouchController.OnArrivedAtTarget += PlayerHasArrived;
|
||||
|
||||
newPlayerPosition = new Vector3(playerTargetObject.transform.position.x, playerTargetObject.transform.position.y, playerTargetObject.transform.position.z);
|
||||
//playerTouchController.InterruptMoveTo();
|
||||
playerTouchController.InterruptMoveTo();
|
||||
playerTouchController.MoveToAndNotify(newPlayerPosition);
|
||||
InputManager.Instance.SetInputMode(InputMode.InputDisabled);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user