alex_gs 3 anni fa
parent
commit
d80904ac8e

+ 2 - 2
Unity3/Assets/2021/Scenes/Main.unity

@@ -27414,7 +27414,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 1
+  m_IsActive: 0
 --- !u!224 &777064953
 RectTransform:
   m_ObjectHideFlags: 0
@@ -58683,7 +58683,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 0
+  m_IsActive: 1
 --- !u!224 &1573281287
 RectTransform:
   m_ObjectHideFlags: 0

+ 1 - 1
Unity3/Assets/Text/Icelandic.txt

@@ -191,7 +191,7 @@ spermicidalWave.limitPerLevelReached = Þú getur bara notað {0} vopn á hverju
 prize.OnActionFirstEnterGame = If you win 10 levels you have a chance to receive a prize.
 prize.OnActionLevelSixStart = You have already passed the half. Keep it up!
 prize.OnActionLevelNineStart = You almost took the game. Do not give up!
-FirstEnterGame.text = því oftar sem þú klárar leikinn, því oftar fer nafn þitt í vinningspottinn en í pottinum eru vegleg gjafakort að verðmæti 10.000 krónur sem og bíómiðar frá Sambíó. Við drögum út þann 1.ágúst 2021
+FirstEnterGame.text = Því oftar sem þú klárar leikinn, því oftar fer nafn þitt í vinningspottinn en í pottinum eru vegleg gjafakort að verðmæti 10.000 krónur sem og bíómiðar frá Sambíóunum. Við drögum út þann 20. október 2021.
 prize.OnActionGameEnd = Play it Again! Increase your chances to win a prize!
 
 levelButton.text = BORÐ {0}

+ 5 - 0
Unity3/Assets/UI/Buttons/ButtonMenuTransitionEvent.cs

@@ -70,6 +70,8 @@ public class ButtonMenuTransitionEvent : MonoBehaviour
                             MenuManager.MenuTransition.ExitToMainMenu);
                         LivesManager.Instance.ResetLive();
                         MenuManager._instance.FBShareDialog.Show();
+                        PlayerPrefs.SetInt("Level", 0);
+                        PlayerPrefs.Save();
                     }
                     else
                     {
@@ -145,6 +147,8 @@ public class ButtonMenuTransitionEvent : MonoBehaviour
                                 MenuManager.MenuTransition.ExitToMainMenu);
                             LivesManager.Instance.ResetLive();
                             MenuManager._instance.FBShareDialog.Show();
+                            PlayerPrefs.SetInt("Level", 0);
+                            PlayerPrefs.Save();
                         }
                         NotificationCenter.Post(NotificationType.MenuTransition, transition);
                     }
@@ -264,6 +268,7 @@ public class ButtonMenuTransitionEvent : MonoBehaviour
                                     MenuManager.MenuTransition.ExitToMainMenu);
                                 LivesManager.Instance.ResetLive();
                                 MenuManager._instance.FBShareDialog.Show();
+                                PlayerPrefs.SetInt("Level", 0);
                                 //if (FlurryLogger.Instance)
                                 //{
                                 //    FlurryLogger.Instance.EndGame();