made the locked levels uninteractable

nuruz-dev
nuruznaeem198 2 months ago
parent c7c9260634
commit 3e3c223c75

@ -582,7 +582,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 20464449} m_TargetGraphic: {fileID: 20464449}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -865,7 +865,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 33535308} m_TargetGraphic: {fileID: 33535308}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -4005,7 +4005,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 176057953} m_TargetGraphic: {fileID: 176057953}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -7553,7 +7553,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 327002184} m_TargetGraphic: {fileID: 327002184}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -9189,7 +9189,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 402712569} m_TargetGraphic: {fileID: 402712569}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -9422,7 +9422,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 412723827} m_TargetGraphic: {fileID: 412723827}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -10110,7 +10110,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 456314793} m_TargetGraphic: {fileID: 456314793}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -11478,7 +11478,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 527690485} m_TargetGraphic: {fileID: 527690485}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -12849,7 +12849,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 595473957} m_TargetGraphic: {fileID: 595473957}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -15874,7 +15874,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 783848397} m_TargetGraphic: {fileID: 783848397}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -21504,7 +21504,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 1071577289} m_TargetGraphic: {fileID: 1071577289}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -23120,7 +23120,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 1141459472} m_TargetGraphic: {fileID: 1141459472}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -24276,7 +24276,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 1202181684} m_TargetGraphic: {fileID: 1202181684}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -27909,7 +27909,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 1372792162} m_TargetGraphic: {fileID: 1372792162}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -30169,7 +30169,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 1490996927} m_TargetGraphic: {fileID: 1490996927}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -31834,7 +31834,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 1613804425} m_TargetGraphic: {fileID: 1613804425}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -38444,7 +38444,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 1951607854} m_TargetGraphic: {fileID: 1951607854}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -39262,7 +39262,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 1975666117} m_TargetGraphic: {fileID: 1975666117}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:
@ -41583,7 +41583,7 @@ MonoBehaviour:
m_PressedTrigger: Pressed m_PressedTrigger: Pressed
m_SelectedTrigger: Selected m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled m_DisabledTrigger: Disabled
m_Interactable: 1 m_Interactable: 0
m_TargetGraphic: {fileID: 2074829334} m_TargetGraphic: {fileID: 2074829334}
m_OnClick: m_OnClick:
m_PersistentCalls: m_PersistentCalls:

@ -94,7 +94,7 @@ public class GameProgress : GameStateMachineUser
{ {
isFinished = true; isFinished = true;
//levelSelectionScreen.LevelCompleted(levelIndex); //levelSelectionScreen.LevelCompleted(levelIndex);
levelSelectionScreen.UnlockLevel(levelIndex + 1); //levelSelectionScreen.UnlockLevel(levelIndex + 1);
Debug.Log("level completed"); Debug.Log("level completed");
} }

@ -89,7 +89,7 @@ public class SquadComponent : GameStateMachineUser
member.SetDanceAnimation(member.animations.DanceAnimations.Random()); member.SetDanceAnimation(member.animations.DanceAnimations.Random());
} }
//levelSelectionScreen.LevelCompleted(0); //levelSelectionScreen.LevelCompleted(0);
//levelSelectionScreen.UnlockLevel(0 + 1); levelSelectionScreen.UnlockLevel(1);
} }
#endregion #endregion

Loading…
Cancel
Save