Showing
3 changed files
with
7 additions
and
6 deletions
... | @@ -454,7 +454,7 @@ RectTransform: | ... | @@ -454,7 +454,7 @@ RectTransform: |
454 | m_LocalScale: {x: 1, y: 1, z: 200} | 454 | m_LocalScale: {x: 1, y: 1, z: 200} |
455 | m_Children: [] | 455 | m_Children: [] |
456 | m_Father: {fileID: 571036441} | 456 | m_Father: {fileID: 571036441} |
457 | - m_RootOrder: 2 | 457 | + m_RootOrder: 3 |
458 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 458 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
459 | m_AnchorMin: {x: 0.5, y: 0.5} | 459 | m_AnchorMin: {x: 0.5, y: 0.5} |
460 | m_AnchorMax: {x: 0.5, y: 0.5} | 460 | m_AnchorMax: {x: 0.5, y: 0.5} |
... | @@ -845,8 +845,8 @@ RectTransform: | ... | @@ -845,8 +845,8 @@ RectTransform: |
845 | m_Children: | 845 | m_Children: |
846 | - {fileID: 75648109} | 846 | - {fileID: 75648109} |
847 | - {fileID: 551735912} | 847 | - {fileID: 551735912} |
848 | - - {fileID: 340360182} | ||
849 | - {fileID: 751222031} | 848 | - {fileID: 751222031} |
849 | + - {fileID: 340360182} | ||
850 | m_Father: {fileID: 0} | 850 | m_Father: {fileID: 0} |
851 | m_RootOrder: 2 | 851 | m_RootOrder: 2 |
852 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 852 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
... | @@ -979,7 +979,7 @@ RectTransform: | ... | @@ -979,7 +979,7 @@ RectTransform: |
979 | m_LocalScale: {x: 1, y: 1, z: 1} | 979 | m_LocalScale: {x: 1, y: 1, z: 1} |
980 | m_Children: [] | 980 | m_Children: [] |
981 | m_Father: {fileID: 571036441} | 981 | m_Father: {fileID: 571036441} |
982 | - m_RootOrder: 3 | 982 | + m_RootOrder: 2 |
983 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} | 983 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
984 | m_AnchorMin: {x: 0.5, y: 0.5} | 984 | m_AnchorMin: {x: 0.5, y: 0.5} |
985 | m_AnchorMax: {x: 0.5, y: 0.5} | 985 | m_AnchorMax: {x: 0.5, y: 0.5} |
... | @@ -1247,6 +1247,7 @@ MonoBehaviour: | ... | @@ -1247,6 +1247,7 @@ MonoBehaviour: |
1247 | m_Script: {fileID: 11500000, guid: 3af9c1c60f4b821408457bded93ec384, type: 3} | 1247 | m_Script: {fileID: 11500000, guid: 3af9c1c60f4b821408457bded93ec384, type: 3} |
1248 | m_Name: | 1248 | m_Name: |
1249 | m_EditorClassIdentifier: | 1249 | m_EditorClassIdentifier: |
1250 | + SceneToLoad: | ||
1250 | --- !u!4 &1816730612 | 1251 | --- !u!4 &1816730612 |
1251 | Transform: | 1252 | Transform: |
1252 | m_ObjectHideFlags: 0 | 1253 | m_ObjectHideFlags: 0 | ... | ... |
... | @@ -38,7 +38,7 @@ public class Final : MonoBehaviour | ... | @@ -38,7 +38,7 @@ public class Final : MonoBehaviour |
38 | if (timer1 > 2.5) | 38 | if (timer1 > 2.5) |
39 | { | 39 | { |
40 | Debug.Log("Clicked"); | 40 | Debug.Log("Clicked"); |
41 | - SceneManager.LoadScene(SceneToLoad); | 41 | + SceneManager.LoadScene("Start"); |
42 | } | 42 | } |
43 | } | 43 | } |
44 | 44 | ||
... | @@ -51,7 +51,7 @@ public class Final : MonoBehaviour | ... | @@ -51,7 +51,7 @@ public class Final : MonoBehaviour |
51 | if (timer2 > 2.5) | 51 | if (timer2 > 2.5) |
52 | { | 52 | { |
53 | Debug.Log("Clicked"); | 53 | Debug.Log("Clicked"); |
54 | - SceneManager.LoadScene(SceneToLoad); | 54 | + SceneManager.LoadScene("Intro"); |
55 | } | 55 | } |
56 | 56 | ||
57 | } | 57 | } | ... | ... |
... | @@ -16,7 +16,7 @@ public class Result : MonoBehaviour | ... | @@ -16,7 +16,7 @@ public class Result : MonoBehaviour |
16 | { | 16 | { |
17 | timer = 0; | 17 | timer = 0; |
18 | num = Move.traineecnt; | 18 | num = Move.traineecnt; |
19 | - NumOfGreat.text = ""; | 19 | + Debug.Log(num); |
20 | } | 20 | } |
21 | 21 | ||
22 | // Update is called once per frame | 22 | // Update is called once per frame | ... | ... |
-
Please register or login to post a comment