Final addition of the cinematic managers
This commit is contained in:
@@ -226,7 +226,7 @@ MonoBehaviour:
|
|||||||
m_PrefabInstance: {fileID: 0}
|
m_PrefabInstance: {fileID: 0}
|
||||||
m_PrefabAsset: {fileID: 0}
|
m_PrefabAsset: {fileID: 0}
|
||||||
m_GameObject: {fileID: 9166576207668444836}
|
m_GameObject: {fileID: 9166576207668444836}
|
||||||
m_Enabled: 1
|
m_Enabled: 0
|
||||||
m_EditorHideFlags: 0
|
m_EditorHideFlags: 0
|
||||||
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
|
|||||||
@@ -59,7 +59,6 @@ MonoBehaviour:
|
|||||||
- {fileID: 2049865838, guid: f1b529408513adc409a57c9ba7131823, type: 3}
|
- {fileID: 2049865838, guid: f1b529408513adc409a57c9ba7131823, type: 3}
|
||||||
- {fileID: 1676378479, guid: f1b529408513adc409a57c9ba7131823, type: 3}
|
- {fileID: 1676378479, guid: f1b529408513adc409a57c9ba7131823, type: 3}
|
||||||
- {fileID: -429792498, guid: f1b529408513adc409a57c9ba7131823, type: 3}
|
- {fileID: -429792498, guid: f1b529408513adc409a57c9ba7131823, type: 3}
|
||||||
- {fileID: -572793725, guid: f1b529408513adc409a57c9ba7131823, type: 3}
|
|
||||||
- {fileID: -1691391806, guid: f1b529408513adc409a57c9ba7131823, type: 3}
|
- {fileID: -1691391806, guid: f1b529408513adc409a57c9ba7131823, type: 3}
|
||||||
- {fileID: 378081198, guid: f1b529408513adc409a57c9ba7131823, type: 3}
|
- {fileID: 378081198, guid: f1b529408513adc409a57c9ba7131823, type: 3}
|
||||||
gizmoRadius: 0.2
|
gizmoRadius: 0.2
|
||||||
|
|||||||
@@ -79,6 +79,12 @@ namespace CinematicsM
|
|||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
_instance = this;
|
_instance = this;
|
||||||
|
|
||||||
|
if (!SceneManager.GetActiveScene().name.ToLower().Contains("mainmenu"))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
playableDirector = GetComponent<PlayableDirector>();
|
playableDirector = GetComponent<PlayableDirector>();
|
||||||
cinematicSprites = GetComponentInChildren<Image>(true);
|
cinematicSprites = GetComponentInChildren<Image>(true);
|
||||||
LoadAndPlayCinematic("IntroSequence");
|
LoadAndPlayCinematic("IntroSequence");
|
||||||
|
|||||||
Reference in New Issue
Block a user