Axel Nordh před 5 roky
rodič
revize
328b50f9b5

+ 1 - 1
Assets/Prefab/NEWAnswerlineQuestion.prefab

@@ -161,7 +161,7 @@ MonoBehaviour:
     m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
     m_FontSize: 14
     m_FontStyle: 0
-    m_BestFit: 0
+    m_BestFit: 1
     m_MinSize: 10
     m_MaxSize: 40
     m_Alignment: 4

+ 5 - 0
Assets/Scenes/MainMenu.unity

@@ -6738,5 +6738,10 @@ PrefabInstance:
       propertyPath: backButtonVisible
       value: 0
       objectReference: {fileID: 0}
+    - target: {fileID: 6032201715164675895, guid: c2ef781d224545542bbff67376813712,
+        type: 3}
+      propertyPath: signedInPlayerVisible
+      value: 1
+      objectReference: {fileID: 0}
     m_RemovedComponents: []
   m_SourcePrefab: {fileID: 100100000, guid: c2ef781d224545542bbff67376813712, type: 3}

+ 1 - 1
Assets/Scenes/narKampen.unity

@@ -4023,7 +4023,7 @@ MonoBehaviour:
     m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
     m_FontSize: 14
     m_FontStyle: 0
-    m_BestFit: 0
+    m_BestFit: 1
     m_MinSize: 10
     m_MaxSize: 40
     m_Alignment: 4

+ 4 - 4
Assets/Scripts/Login/Login.cs

@@ -16,8 +16,8 @@ public class Login : MonoBehaviour {
     public InputField usernameInputField;
     public InputField passwordInputField;
 
-    [SerializeField] Button swedishLangButton;
-    [SerializeField] Button englishLangButton;
+    //[SerializeField] Button swedishLangButton;
+    // [SerializeField] Button englishLangButton;
     public Button loginButton;
     public Toggle keepSignedIn;
 
@@ -45,8 +45,8 @@ public class Login : MonoBehaviour {
         loginButton.onClick.AddListener(loginAction);
         errorColor = errorText.color;
         system = EventSystem.current;
-        swedishLangButton.onClick.AddListener(() => SwitchLanguage(0));
-        englishLangButton.onClick.AddListener(() => SwitchLanguage(1));
+/*        swedishLangButton.onClick.AddListener(() => SwitchLanguage(0));
+        englishLangButton.onClick.AddListener(() => SwitchLanguage(1));*/ 
     }
 
     private void Awake() {