Commit f6671e12 authored by radow's avatar radow
Browse files

fixed a bug caused by the inclusion of the cutscenes and the resulting...

fixed a bug caused by the inclusion of the cutscenes and the resulting offsetchange in lvlID versus buildID
parent 2f5283e6
......@@ -3137,7 +3137,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -469.5, y: -22.5}
m_AnchoredPosition: {x: -465, y: -4}
m_SizeDelta: {x: 103.098724, y: 103.098724}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &286565281
......@@ -3744,7 +3744,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -57.400024, y: -15.099998}
m_AnchoredPosition: {x: -65, y: -4}
m_SizeDelta: {x: 103.098724, y: 103.098724}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &376370084
......@@ -5049,7 +5049,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 134.19998, y: -92.5}
m_AnchoredPosition: {x: 135, y: -4}
m_SizeDelta: {x: 103.098724, y: 103.098724}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &507248115
......@@ -8546,7 +8546,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -33.300026, y: -153.5}
m_AnchoredPosition: {x: -465, y: -154}
m_SizeDelta: {x: 103.098724, y: 103.098724}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &880964876
......@@ -8855,7 +8855,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 72.39998, y: -278}
m_AnchoredPosition: {x: -265, y: -304}
m_SizeDelta: {x: 103.098724, y: 103.098724}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &887374329
......@@ -9106,7 +9106,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -251.50003, y: -18.599998}
m_AnchoredPosition: {x: -265, y: -4}
m_SizeDelta: {x: 103.098724, y: 103.098724}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &908477543
......@@ -11959,7 +11959,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -426.80002, y: -152.6}
m_AnchoredPosition: {x: -65, y: -154}
m_SizeDelta: {x: 103.098724, y: 103.098724}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1222292594
......@@ -13447,7 +13447,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -326.30002, y: -272}
m_AnchoredPosition: {x: 135, y: -154}
m_SizeDelta: {x: 103.098724, y: 103.098724}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1362518195
......@@ -15343,7 +15343,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -224.90002, y: -136.3}
m_AnchoredPosition: {x: -265, y: -154}
m_SizeDelta: {x: 103.098724, y: 103.098724}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1599962500
......@@ -19619,7 +19619,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -104.60002, y: -277}
m_AnchoredPosition: {x: -465, y: -304}
m_SizeDelta: {x: 103.098724, y: 103.098724}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1991763544
......@@ -19854,7 +19854,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!224 &1998813308
RectTransform:
m_ObjectHideFlags: 0
......
......@@ -284,6 +284,10 @@ PrefabInstance:
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2500070006312039797, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: levelID
value: 9
objectReference: {fileID: 0}
- target: {fileID: 2500070006552871391, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: t1
value: 0
......
......@@ -327,6 +327,10 @@ PrefabInstance:
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2500070006312039797, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: levelID
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2500070006552871391, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: t2
value: 1
......
......@@ -30651,6 +30651,10 @@ PrefabInstance:
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2500070006312039797, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: levelID
value: 2
objectReference: {fileID: 0}
- target: {fileID: 2500070006552871391, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: t1
value: 0
......@@ -4878,6 +4878,10 @@ PrefabInstance:
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2500070006312039797, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: levelID
value: 3
objectReference: {fileID: 0}
- target: {fileID: 2500070006552871391, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: t1
value: 0
......
......@@ -459,6 +459,10 @@ PrefabInstance:
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2500070006312039797, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: levelID
value: 4
objectReference: {fileID: 0}
- target: {fileID: 2500070006552871391, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: t1
value: 0
......@@ -287,6 +287,10 @@ PrefabInstance:
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2500070006312039797, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: levelID
value: 5
objectReference: {fileID: 0}
- target: {fileID: 2500070006552871391, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: t1
value: 0
......@@ -425,6 +425,10 @@ PrefabInstance:
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2500070006312039797, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: levelID
value: 6
objectReference: {fileID: 0}
- target: {fileID: 2500070006552871391, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: t1
value: 0
......
......@@ -5231,6 +5231,10 @@ PrefabInstance:
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2500070006312039797, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: levelID
value: 7
objectReference: {fileID: 0}
- target: {fileID: 2500070006552871391, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: t1
value: 0
......@@ -218,6 +218,10 @@ PrefabInstance:
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2500070006312039797, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: levelID
value: 8
objectReference: {fileID: 0}
- target: {fileID: 2500070006552871391, guid: 2849d7721ea0eca459768527dd491c7d, type: 3}
propertyPath: t1
value: 0
......@@ -14,10 +14,11 @@ public class UIManager : MonoBehaviour
public TextMeshProUGUI winMessage;
public bool cleared;
public int levelID;
void Update()
{
if (cleared) SettingsData.cleared[SceneManager.GetActiveScene().buildIndex - 1] = true;
if (cleared) SettingsData.cleared[levelID] = true;
if (cleared && Input.GetKeyDown(KeyCode.Return)) StartCoroutine(LoadYourAsyncScene());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment