소스 검색

missing files

Axel Nordh 3 년 전
부모
커밋
b249d50f1e
62개의 변경된 파일16783개의 추가작업 그리고 2888개의 파일을 삭제
  1. 58 42
      .sonarqube/conf/0/FilesToAnalyze.txt
  2. 1 1
      .sonarqube/conf/0/SonarProjectConfig.xml
  3. 1 5
      .sonarqube/conf/SonarQubeAnalysisConfig.xml
  4. 14643 70
      .sonarqube/out/0/Issues.json
  5. 93 1
      .vscode/launch.json
  6. 58 74
      .vscode/settings.json
  7. 15 15
      Assets/AnswerLineInfoScript.cs
  8. 11 13
      Assets/BasicDialog.cs
  9. 4 4
      Assets/CategorySelection.cs
  10. 33 50
      Assets/NewDropZoneScript.cs
  11. 10 14
      Assets/NewQuestionDragController.cs
  12. 30 3
      Assets/Prefab/LocalGame.prefab
  13. 0 494
      Assets/Prefab/PlayerInfo.prefab
  14. 0 7
      Assets/Prefab/PlayerInfo.prefab.meta
  15. 220 114
      Assets/Scenes/MainMenu.unity
  16. 159 155
      Assets/Scenes/User.unity
  17. 267 174
      Assets/Scripts/Database/Database.cs
  18. 4 0
      Assets/Scripts/Database/OnlineDatabase.cs
  19. 1 1
      Assets/Scripts/Database/OnlineDatabase.cs.meta
  20. 8 11
      Assets/Scripts/EventManager.cs
  21. 33 49
      Assets/Scripts/GameManagerScript.cs
  22. 103 87
      Assets/Scripts/Login/Login.cs
  23. 136 113
      Assets/Scripts/Login/Register.cs
  24. 3 7
      Assets/Scripts/MainGame/CategoryPanel.cs
  25. 11 12
      Assets/Scripts/MainGame/InformationPanelScript.cs
  26. 12 15
      Assets/Scripts/MainGame/NewQuestionCardController.cs
  27. 12 16
      Assets/Scripts/MainGame/NewQuestionsPanel.cs
  28. 22 27
      Assets/Scripts/MainGame/ScrollViewScript.cs
  29. 7 8
      Assets/Scripts/MainGame/StatsScript.cs
  30. 5 8
      Assets/Scripts/MainGame/TimerScript.cs
  31. 75 47
      Assets/Scripts/MainMenu.cs
  32. 3 4
      Assets/Scripts/ModalPanel/BringToFront.cs
  33. 13 15
      Assets/Scripts/NewGameScene/FirebaseStart.cs
  34. 3 5
      Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs
  35. 0 21
      Assets/Scripts/NewGameScene/PlayerInfo.cs
  36. 3 3
      Assets/SelectCategoryScript.cs
  37. 2 2
      Assets/StreamingAssets/google-services-desktop.json
  38. 1 1
      Assets/StreamingAssets/google-services-desktop.json.meta
  39. 5 3
      Assets/Translations/ENGLISH.xml
  40. 5 3
      Assets/Translations/SWEDISH.xml
  41. 0 35
      Nar Kampen.csproj
  42. 11 15
      Packages/manifest.json
  43. 32 65
      Packages/packages-lock.json
  44. 0 1
      ProjectSettings/AudioManager.asset
  45. 2 5
      ProjectSettings/DynamicsManager.asset
  46. 3 3
      ProjectSettings/EditorBuildSettings.asset
  47. 25 6
      ProjectSettings/EditorSettings.asset
  48. 2 56
      ProjectSettings/GraphicsSettings.asset
  49. 8 7
      ProjectSettings/GvhProjectSettings.xml
  50. 0 752
      ProjectSettings/InputManager.asset
  51. 1 19
      ProjectSettings/NavMeshAreas.asset
  52. 2 12
      ProjectSettings/Physics2DSettings.asset
  53. 296 127
      ProjectSettings/ProjectSettings.asset
  54. 2 2
      ProjectSettings/ProjectVersion.txt
  55. 33 77
      ProjectSettings/QualitySettings.asset
  56. 23 7
      ProjectSettings/TagManager.asset
  57. 0 1
      ProjectSettings/TimeManager.asset
  58. 3 2
      ProjectSettings/UnityConnectSettings.asset
  59. BIN
      ProjectSettings/VersionControlSettings.asset
  60. BIN
      UserSettings/EditorUserSettings.asset
  61. 269 1
      dbFiles/OnlineGames.php
  62. 1 1
      sonar-project.properties

+ 58 - 42
.sonarqube/conf/0/FilesToAnalyze.txt

@@ -1,49 +1,65 @@
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\CategoryPanel.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\Database\Database.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\Database\OnlineDatabase.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\Draggable.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\DropZone.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\EventManager.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\GameInfoScript.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\GameManagerScript.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\GeneralDialog\GenericDialog.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\InformationPanelScript.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\InvitePanelScript.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\InviteSearchResult.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\LocalGameScript.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\Localization\ButtonLocalization.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\Localization\InputFieldLocalization.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\GameManagerScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\GamesScrollController.cs
 F:\Unity\Projects\Nar Kampen\Assets\Scripts\Localization\LocalizationManager.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\Localization\TextLocalization.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\Login\Login.cs
+F:\Unity\Projects\Nar Kampen\Assets\BasicDialog.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\LocalGameScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\MainGame\NewQuestionCardController.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\GameInfoScript.cs
 F:\Unity\Projects\Nar Kampen\Assets\Scripts\Login\Register.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\MainMenu.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\MainGame\CategoryPanel.cs
+F:\Unity\Projects\Nar Kampen\Assets\CategorySelection.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\EventManager.cs
+F:\Unity\Projects\Nar Kampen\Assets\NewQuestionDragController.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\MainGame\NewQuestionsPanel.cs
 F:\Unity\Projects\Nar Kampen\Assets\Scripts\ModalPanel\BringToFront.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\OnlineGameScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\AnswerLineInfoPlayerButton.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\StartOnlineGameButton.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\AnswerTimeSlider.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\NewGameSlider.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\OnlineGamesPanelUI.cs
 F:\Unity\Projects\Nar Kampen\Assets\Scripts\ModalPanel\DisplayManager.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\Localization\InputFieldLocalization.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\MainGame\NewQuestionData.cs
+F:\Unity\Projects\Nar Kampen\Assets\selectCategoriesPanelController.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\GeneralDialog\GenericDialog.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\Localization\TextLocalization.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\InviteSearchResult.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\MainMenu.cs
+F:\Unity\Projects\Nar Kampen\Assets\SelectCategoryScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\InvitePanelScript.cs
 F:\Unity\Projects\Nar Kampen\Assets\Scripts\ModalPanel\ModalPanel.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewOnlineGame.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewQuestion.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\OnlineGameScript.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\OnlinePlayerInfoScript.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\PinchZoom.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\PlayerInfo.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\PlayerSetting.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\NewStartOnlineGameScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\backToMainMenu.cs
+F:\Unity\Projects\Nar Kampen\Assets\AnswerLineInfoScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\MainGame\TimerScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\MainGame\ScrollViewScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\MainGame\StatsScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\MainGame\InformationPanelScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\PlayerInfo.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\NewGamesButtonPanelScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\Database\Database.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\Constants.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\OnlinePlayerInfoScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\MainGame\StatsLine.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\MainGame\AnswerLineQuestionCard.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\NewStartLocalGameScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\SettingsScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\Login\Login.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\OnlineGameSettings.cs
+F:\Unity\Projects\Nar Kampen\Assets\NewDropZoneScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\Database\OnlineDatabase.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\Localization\ButtonLocalization.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\invitePanelController.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\MainGame\QuestionCard.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\NewOnlineGame.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\FirebaseStart.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\PlayerSetting.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\NewOnlineGameScript.cs
+F:\Unity\Projects\Nar Kampen\Assets\Scripts\NewGameScene\PlayersScrollPanelScript.cs
 F:\Unity\Projects\Nar Kampen\Assets\Scripts\PrivacyPolicy.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\QuestionCard.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\RoundButtonsScript.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\ScrollViewScript.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\StatsLine.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\StatsScript.cs
-F:\Unity\Projects\Nar Kampen\Assets\Scripts\TimerScript.cs
-F:\Unity\Projects\Nar Kampen\Assets\Translations\ENGLISH.xml
+F:\Unity\Projects\Nar Kampen\Assets\Shaders\UIBlur_Shared.cginc
+F:\Unity\Projects\Nar Kampen\Assets\Shaders\UIBlur.shader
 F:\Unity\Projects\Nar Kampen\Assets\Translations\SWEDISH.xml
-F:\Unity\Projects\Nar Kampen\Packages\com.unity.2d.sprite\Editor\UI\SpriteEditor\PolygonChangeShapeWindow.uxml
-F:\Unity\Projects\Nar Kampen\Packages\com.unity.2d.sprite\Editor\UI\SpriteEditor\SpriteEditor.uss
-F:\Unity\Projects\Nar Kampen\Packages\com.unity.2d.sprite\Editor\UI\SpriteEditor\SpriteFrameModuleInspector.uxml
-F:\Unity\Projects\Nar Kampen\Packages\com.unity.collab-proxy\Editor\Resources\Styles\CollabHistoryCommon.uss
-F:\Unity\Projects\Nar Kampen\Packages\com.unity.collab-proxy\Editor\Resources\Styles\CollabHistoryDark.uss
-F:\Unity\Projects\Nar Kampen\Packages\com.unity.collab-proxy\Editor\Resources\Styles\CollabHistoryLight.uss
-F:\Unity\Projects\Nar Kampen\Packages\com.unity.ext.nunit\net35\unity-custom\This is a custom build DONT include.txt
-F:\Unity\Projects\Nar Kampen\Packages\com.unity.ext.nunit\net35\unity-custom\nunit.framework.xml
-F:\Unity\Projects\Nar Kampen\Packages\com.unity.textmeshpro\Editor Resources\Shaders\TMP_Properties.cginc
-F:\Unity\Projects\Nar Kampen\Packages\com.unity.textmeshpro\Editor Resources\Shaders\TMP_SDF Internal SSD.shader
+F:\Unity\Projects\Nar Kampen\Assets\Shaders\Frost.shader
+F:\Unity\Projects\Nar Kampen\Assets\Translations\ENGLISH.xml

+ 1 - 1
.sonarqube/conf/0/SonarProjectConfig.xml

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <SonarProjectConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.sonarsource.com/msbuild/analyzer/2021/1">
   <AnalysisConfigPath>F:\Unity\Projects\Nar Kampen\.sonarqube\conf\SonarQubeAnalysisConfig.xml</AnalysisConfigPath>
-  <ProjectPath>F:\Unity\Projects\Nar Kampen\Nar Kampen.csproj</ProjectPath>
+  <ProjectPath>F:\Unity\Projects\Nar Kampen\Assembly-CSharp.csproj</ProjectPath>
   <FilesToAnalyzePath>F:\Unity\Projects\Nar Kampen\.sonarqube\conf\0\FilesToAnalyze.txt</FilesToAnalyzePath>
   <OutPath>F:\Unity\Projects\Nar Kampen\.sonarqube\out\0</OutPath>
   <ProjectType>Product</ProjectType>

+ 1 - 5
.sonarqube/conf/SonarQubeAnalysisConfig.xml

@@ -110,7 +110,7 @@
     <Property Name="sonaranalyzer-vbnet.pluginKey">vbnet</Property>
     <Property Name="sonar.updatecenter.url">https://update.sonarsource.org/update-center.properties</Property>
     <Property Name="sonar.core.id">243B8A4D-AYB-puEKMQhf_f0rkCOd</Property>
-    <Property Name="sonar.core.startTime">2022-07-06 22:19:57</Property>
+    <Property Name="sonar.core.startTime">2022-07-11 10:21:18</Property>
   </ServerSettings>
   <LocalSettings>
     <Property Name="sonar.host.url">http://nordh.xyz:9088</Property>
@@ -127,7 +127,6 @@
             <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\2\SonarAnalyzer.CFG.dll</Path>
             <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\2\SonarAnalyzer.CSharp.dll</Path>
             <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\2\SonarAnalyzer.dll</Path>
-            <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\2\THIRD-PARTY-NOTICES.txt</Path>
           </AssemblyPaths>
         </AnalyzerPlugin>
         <AnalyzerPlugin Key="vbnet" Version="8.36.1.44192" StaticResourceName="SonarAnalyzer-8.36.1.44192.zip">
@@ -136,7 +135,6 @@
             <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\3\SonarAnalyzer.CFG.dll</Path>
             <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\3\SonarAnalyzer.dll</Path>
             <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\3\SonarAnalyzer.VisualBasic.dll</Path>
-            <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\3\THIRD-PARTY-NOTICES.txt</Path>
           </AssemblyPaths>
         </AnalyzerPlugin>
       </AnalyzerPlugins>
@@ -155,7 +153,6 @@
             <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\2\SonarAnalyzer.CFG.dll</Path>
             <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\2\SonarAnalyzer.CSharp.dll</Path>
             <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\2\SonarAnalyzer.dll</Path>
-            <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\2\THIRD-PARTY-NOTICES.txt</Path>
           </AssemblyPaths>
         </AnalyzerPlugin>
         <AnalyzerPlugin Key="vbnet" Version="8.36.1.44192" StaticResourceName="SonarAnalyzer-8.36.1.44192.zip">
@@ -164,7 +161,6 @@
             <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\3\SonarAnalyzer.CFG.dll</Path>
             <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\3\SonarAnalyzer.dll</Path>
             <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\3\SonarAnalyzer.VisualBasic.dll</Path>
-            <Path>C:\Users\Axel\AppData\Local\Temp\.sonarqube\resources\3\THIRD-PARTY-NOTICES.txt</Path>
           </AssemblyPaths>
         </AnalyzerPlugin>
       </AnalyzerPlugins>

+ 14643 - 70
.sonarqube/out/0/Issues.json

@@ -5,128 +5,14701 @@
     {
       "tool": {
         "name": "Microsoft (R) Visual C# Compiler",
-        "version": "3.7.0.0",
-        "fileVersion": "3.7.0-6.20570.4 (dc3f4eef)",
-        "semanticVersion": "3.7.0",
+        "version": "4.2.0.0",
+        "fileVersion": "4.2.0-4.22220.5 (432d17a8)",
+        "semanticVersion": "4.2.0",
         "language": "en-US"
       },
       "results": [
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\DropZone.cs' could not be found."
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'QuestionCard.frosting' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 25,
+                  "startColumn": 34,
+                  "endLine": 25,
+                  "endColumn": 42
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'GameInfoScript.GameIdText' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs",
+                "region": {
+                  "startLine": 25,
+                  "startColumn": 27,
+                  "endLine": 25,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'InformationPanelScript.BackButton' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/InformationPanelScript.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 29,
+                  "endLine": 16,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'selectCategoriesPanelController.SelectCategoriesDialog' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/selectCategoriesPanelController.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 33,
+                  "endLine": 11,
+                  "endColumn": 55
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'StatsScript.answerLineInfo' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs",
+                "region": {
+                  "startLine": 21,
+                  "startColumn": 33,
+                  "endLine": 21,
+                  "endColumn": 47
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'InvitePanelScript.findRandomPlayerButton' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 21,
+                  "startColumn": 29,
+                  "endLine": 21,
+                  "endColumn": 51
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'GameInfoScript.DaysToStartRoundValueText' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs",
+                "region": {
+                  "startLine": 23,
+                  "startColumn": 27,
+                  "endLine": 23,
+                  "endColumn": 52
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'AnswerLineInfoScript.answerLine' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 15,
+                  "startColumn": 42,
+                  "endLine": 15,
+                  "endColumn": 52
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'QuestionCard.frontCategoryPanel' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 27,
+                  "startColumn": 33,
+                  "endLine": 27,
+                  "endColumn": 51
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'SelectCategoryScript.doneButton' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 29,
+                  "endLine": 10,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'GameInfoScript.questionsToWinValueText' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs",
+                "region": {
+                  "startLine": 22,
+                  "startColumn": 27,
+                  "endLine": 22,
+                  "endColumn": 50
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'ScrollViewScript.middleDropZone' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs",
+                "region": {
+                  "startLine": 73,
+                  "startColumn": 29,
+                  "endLine": 73,
+                  "endColumn": 43
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'SelectCategoryScript.closeButton' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 29,
+                  "endLine": 11,
+                  "endColumn": 40
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'ScrollViewScript.leftDropZone' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs",
+                "region": {
+                  "startLine": 71,
+                  "startColumn": 29,
+                  "endLine": 71,
+                  "endColumn": 41
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'ScrollViewScript.rightDropZone' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs",
+                "region": {
+                  "startLine": 72,
+                  "startColumn": 29,
+                  "endLine": 72,
+                  "endColumn": 42
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'AnswerLineInfoScript.prevPlayerButton' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 38,
+                  "endLine": 11,
+                  "endColumn": 54
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'GameManagerScript.DropZonePrefab' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 25,
+                  "startColumn": 34,
+                  "endLine": 25,
+                  "endColumn": 48
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'StatsScript.gameManager' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs",
+                "region": {
+                  "startLine": 19,
+                  "startColumn": 33,
+                  "endLine": 19,
+                  "endColumn": 44
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'QuestionCard.frontCategoryText' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 28,
+                  "startColumn": 27,
+                  "endLine": 28,
+                  "endColumn": 44
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'GameManagerScript.AnswerLineQuestionCard' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 24,
+                  "startColumn": 34,
+                  "endLine": 24,
+                  "endColumn": 56
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'CategoryPanel.gameManager' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/CategoryPanel.cs",
+                "region": {
+                  "startLine": 19,
+                  "startColumn": 33,
+                  "endLine": 19,
+                  "endColumn": 44
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'invitePanelController.invitedPlayersText' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/invitePanelController.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 27,
+                  "endLine": 9,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'NewQuestionsPanel.FrontQuestionCategoryText' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 27,
+                  "endLine": 18,
+                  "endColumn": 52
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'AnswerLineInfoScript.nextPlayerButton' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 38,
+                  "endLine": 10,
+                  "endColumn": 54
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'CategorySelection.CategoryNameText' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/CategorySelection.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 36,
+                  "endLine": 9,
+                  "endColumn": 52
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'NewQuestionsPanel.gameManager' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs",
+                "region": {
+                  "startLine": 24,
+                  "startColumn": 33,
+                  "endLine": 24,
+                  "endColumn": 44
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'SettingsScript.LangaugeSelectBox' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SettingsScript.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 33,
+                  "endLine": 11,
+                  "endColumn": 50
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'SelectCategoryScript.ContentPanel' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 33,
+                  "endLine": 16,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'Login.firebaseController' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 32,
+                  "startColumn": 33,
+                  "endLine": 32,
+                  "endColumn": 51
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'SelectCategoryScript.SelectCategoryPanel' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 33,
+                  "endLine": 14,
+                  "endColumn": 52
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'CategorySelection.selectionToggle' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/CategorySelection.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 38,
+                  "endLine": 10,
+                  "endColumn": 53
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'Register.firebaseController' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 31,
+                  "startColumn": 33,
+                  "endLine": 31,
+                  "endColumn": 51
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'AnswerLineInfoScript.unlockedQuestionsText' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 36,
+                  "endLine": 13,
+                  "endColumn": 57
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'GameInfoScript.answerTimeValueText' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs",
+                "region": {
+                  "startLine": 21,
+                  "startColumn": 27,
+                  "endLine": 21,
+                  "endColumn": 46
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'NewStartLocalGameScript.playersPanel' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 33,
+                  "endLine": 14,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'GameManagerScript.TimerPanel' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 26,
+                  "startColumn": 34,
+                  "endLine": 26,
+                  "endColumn": 44
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'SelectCategoryScript.CategoryToSelectPrefab' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 33,
+                  "endLine": 12,
+                  "endColumn": 55
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'selectCategoriesPanelController.SelectCategoriesText' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/selectCategoriesPanelController.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 27,
+                  "endLine": 12,
+                  "endColumn": 47
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'NewQuestionsPanel.FrontQuestionCategoryImage' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 28,
+                  "endLine": 17,
+                  "endColumn": 54
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'TimerScript.dialogTimer' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/TimerScript.cs",
+                "region": {
+                  "startLine": 23,
+                  "startColumn": 33,
+                  "endLine": 23,
+                  "endColumn": 44
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'AnswerLineInfoScript.gameManager' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 42,
+                  "endLine": 18,
+                  "endColumn": 53
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'NewQuestionCardController.startParent' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs",
+                "region": {
+                  "startLine": 19,
+                  "startColumn": 33,
+                  "endLine": 19,
+                  "endColumn": 44
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'StartOnlineGameButton.SelectCategoriesPanel' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 33,
+                  "endLine": 18,
+                  "endColumn": 54
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'GameManagerScript.NewQuestionCard' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 22,
+                  "startColumn": 34,
+                  "endLine": 22,
+                  "endColumn": 49
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'NewOnlineGameScript.StartButton' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 29,
+                  "endLine": 16,
+                  "endColumn": 40
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'StatsScript.answerLine' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs",
+                "region": {
+                  "startLine": 20,
+                  "startColumn": 33,
+                  "endLine": 20,
+                  "endColumn": 43
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'selectCategoriesPanelController.OpenDialogButton' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/selectCategoriesPanelController.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 29,
+                  "endLine": 10,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'AnswerLineInfoScript.scrollView' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 42,
+                  "endLine": 14,
+                  "endColumn": 52
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'AnswerLineInfoScript.newQuestion' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 42,
+                  "endLine": 16,
+                  "endColumn": 53
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'SelectCategoryScript.TotalsText' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 27,
+                  "endLine": 17,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'NewQuestionCardController.gameManager' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs",
+                "region": {
+                  "startLine": 20,
+                  "startColumn": 33,
+                  "endLine": 20,
+                  "endColumn": 44
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'NewGamesButtonPanelScript.informationPanel' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs",
+                "region": {
+                  "startLine": 15,
+                  "startColumn": 33,
+                  "endLine": 15,
+                  "endColumn": 49
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'GameManagerScript.AnswerLine' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 23,
+                  "startColumn": 34,
+                  "endLine": 23,
+                  "endColumn": 44
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'AnswerLineInfoScript.lockedQuestionsText' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 36,
+                  "endLine": 12,
+                  "endColumn": 55
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'StartOnlineGameButton.CategoriesButton' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 29,
+                  "endLine": 17,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0649",
+          "level": "warning",
+          "message": "Field 'NewOnlineGameScript.categoryPanel' is never assigned to, and will always have its default value null",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 33,
+                  "endLine": 17,
+                  "endColumn": 46
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 4
+          }
+        },
+        {
+          "ruleId": "CS0414",
+          "level": "warning",
+          "message": "The field 'OnlineGameScript.FINISHED_TITLE' is assigned but its value is never used",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 67,
+                  "startColumn": 20,
+                  "endLine": 67,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 3
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 107,
+                  "startColumn": 9,
+                  "endLine": 107,
+                  "endColumn": 78
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 136,
+                  "startColumn": 9,
+                  "endLine": 136,
+                  "endColumn": 48
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1135",
+          "level": "warning",
+          "message": "Complete the task associated to this 'TODO' comment.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 95,
+                  "startColumn": 12,
+                  "endLine": 95,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1135",
+          "level": "warning",
+          "message": "Complete the task associated to this 'TODO' comment.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 97,
+                  "startColumn": 12,
+                  "endLine": 97,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs",
+                "region": {
+                  "startLine": 34,
+                  "startColumn": 13,
+                  "endLine": 34,
+                  "endColumn": 97
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs",
+                "region": {
+                  "startLine": 31,
+                  "startColumn": 9,
+                  "endLine": 31,
+                  "endColumn": 67
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 154,
+                  "startColumn": 9,
+                  "endLine": 154,
+                  "endColumn": 63
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs",
+                "region": {
+                  "startLine": 50,
+                  "startColumn": 9,
+                  "endLine": 50,
+                  "endColumn": 162
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1135",
+          "level": "warning",
+          "message": "Complete the task associated to this 'TODO' comment.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs",
+                "region": {
+                  "startLine": 45,
+                  "startColumn": 12,
+                  "endLine": 45,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGamesPanelUI.cs",
+                "region": {
+                  "startLine": 32,
+                  "startColumn": 1,
+                  "endLine": 32,
+                  "endColumn": 61
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/TimerScript.cs",
+                "region": {
+                  "startLine": 44,
+                  "startColumn": 9,
+                  "endLine": 44,
+                  "endColumn": 80
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 40,
+                  "startColumn": 13,
+                  "endLine": 40,
+                  "endColumn": 72
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 232,
+                  "startColumn": 9,
+                  "endLine": 232,
+                  "endColumn": 69
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 249,
+                  "startColumn": 9,
+                  "endLine": 249,
+                  "endColumn": 68
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 796,
+                  "startColumn": 5,
+                  "endLine": 796,
+                  "endColumn": 66
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 19,
+                  "startColumn": 5,
+                  "endLine": 19,
+                  "endColumn": 49
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 48,
+                  "startColumn": 1,
+                  "endLine": 48,
+                  "endColumn": 74
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 624,
+                  "startColumn": 13,
+                  "endLine": 624,
+                  "endColumn": 123
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1135",
+          "level": "warning",
+          "message": "Complete the task associated to this 'TODO' comment.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 288,
+                  "startColumn": 3,
+                  "endLine": 288,
+                  "endColumn": 7
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1135",
+          "level": "warning",
+          "message": "Complete the task associated to this 'TODO' comment.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 388,
+                  "startColumn": 78,
+                  "endLine": 388,
+                  "endColumn": 82
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1135",
+          "level": "warning",
+          "message": "Complete the task associated to this 'TODO' comment.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 522,
+                  "startColumn": 81,
+                  "endLine": 522,
+                  "endColumn": 85
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs",
+                "region": {
+                  "startLine": 24,
+                  "startColumn": 9,
+                  "endLine": 24,
+                  "endColumn": 61
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S125",
+          "level": "warning",
+          "message": "Remove this commented out code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs",
+                "region": {
+                  "startLine": 45,
+                  "startColumn": 9,
+                  "endLine": 45,
+                  "endColumn": 49
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1135",
+          "level": "warning",
+          "message": "Complete the task associated to this 'TODO' comment.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs",
+                "region": {
+                  "startLine": 37,
+                  "startColumn": 12,
+                  "endLine": 37,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'EventSliderDetails' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 14,
+                  "endLine": 12,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'EventButtonDetails' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 6,
+                  "startColumn": 14,
+                  "endLine": 6,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'ModalPanelDetails' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 14,
+                  "endLine": 16,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 19,
+                  "endLine": 7,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 19,
+                  "endLine": 8,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 24,
+                  "endLine": 9,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 19,
+                  "endLine": 18,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 19,
+                  "startColumn": 19,
+                  "endLine": 19,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 19,
+                  "endLine": 17,
+                  "endColumn": 24
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 20,
+                  "startColumn": 19,
+                  "endLine": 20,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 21,
+                  "startColumn": 31,
+                  "endLine": 21,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 22,
+                  "startColumn": 31,
+                  "endLine": 22,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 25,
+                  "startColumn": 31,
+                  "endLine": 25,
+                  "endColumn": 44
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 23,
+                  "startColumn": 31,
+                  "endLine": 23,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 24,
+                  "startColumn": 31,
+                  "endLine": 24,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'PrivacyPolicy' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/PrivacyPolicy.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'ModalPanel' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 29,
+                  "startColumn": 14,
+                  "endLine": 29,
+                  "endColumn": 24
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'ButtonLocalization' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/ButtonLocalization.cs",
+                "region": {
+                  "startLine": 6,
+                  "startColumn": 14,
+                  "endLine": 6,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/ButtonLocalization.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 19,
+                  "endLine": 8,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 31,
+                  "startColumn": 17,
+                  "endLine": 31,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 19,
+                  "endLine": 10,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 32,
+                  "startColumn": 18,
+                  "endLine": 32,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'GameInfoScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 14,
+                  "endLine": 8,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'StatsLine' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsLine.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 23
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S4144",
+          "level": "warning",
+          "message": "Update this method so that its implementation is not identical to 'Start'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/ButtonLocalization.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 19,
+                  "endLine": 18,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/ButtonLocalization.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 10,
+                  "endLine": 10,
+                  "endColumn": 15
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1450",
+          "level": "warning",
+          "message": "Remove the field 'pp' and declare it as a local variable in the relevant methods.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/PrivacyPolicy.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 12,
+                  "endLine": 8,
+                  "endColumn": 14
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 19,
+                  "endLine": 11,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 23,
+                  "endLine": 13,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsLine.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 17,
+                  "endLine": 10,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 33,
+                  "startColumn": 19,
+                  "endLine": 33,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs",
+                "region": {
+                  "startLine": 15,
+                  "startColumn": 22,
+                  "endLine": 15,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 34,
+                  "startColumn": 19,
+                  "endLine": 34,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsLine.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 17,
+                  "endLine": 11,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 22,
+                  "endLine": 16,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 35,
+                  "startColumn": 19,
+                  "endLine": 35,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 37,
+                  "startColumn": 17,
+                  "endLine": 37,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S5332",
+          "level": "warning",
+          "message": "Using http protocol is insecure. Use https instead.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/PrivacyPolicy.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 49,
+                  "endLine": 9,
+                  "endColumn": 97
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 38,
+                  "startColumn": 17,
+                  "endLine": 38,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 39,
+                  "startColumn": 17,
+                  "endLine": 39,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/ModalPanel.cs",
+                "region": {
+                  "startLine": 41,
+                  "startColumn": 23,
+                  "endLine": 41,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'AnswerLineQuestionCard' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/AnswerLineQuestionCard.cs",
+                "region": {
+                  "startLine": 6,
+                  "startColumn": 14,
+                  "endLine": 6,
+                  "endColumn": 36
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'NewStartOnlineGameScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartOnlineGameScript.cs",
+                "region": {
+                  "startLine": 5,
+                  "startColumn": 14,
+                  "endLine": 5,
+                  "endColumn": 38
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'ScrollViewScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 14,
+                  "endLine": 9,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'statusColors' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 19,
+                  "endLine": 10,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'PENDING_TITLE' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 63,
+                  "startColumn": 20,
+                  "endLine": 63,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'ACTIVE_TITLE' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 64,
+                  "startColumn": 20,
+                  "endLine": 64,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'DECLINED_TITLE' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 65,
+                  "startColumn": 20,
+                  "endLine": 65,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'INVITED_TITLE' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 66,
+                  "startColumn": 20,
+                  "endLine": 66,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'FINISHED_TITLE' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 67,
+                  "startColumn": 20,
+                  "endLine": 67,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'PENDING' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 69,
+                  "startColumn": 20,
+                  "endLine": 69,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'DECLINED' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 70,
+                  "startColumn": 20,
+                  "endLine": 70,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'ACTIVE' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 71,
+                  "startColumn": 20,
+                  "endLine": 71,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'INVITED' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 72,
+                  "startColumn": 20,
+                  "endLine": 72,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'OTHERS_TURN' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 74,
+                  "startColumn": 20,
+                  "endLine": 74,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'YOUR_TURN' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 75,
+                  "startColumn": 20,
+                  "endLine": 75,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/invitePanelController.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 19,
+                  "endLine": 7,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/backToMainMenu.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 19,
+                  "endLine": 9,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/invitePanelController.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 23,
+                  "endLine": 8,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S101",
+          "level": "warning",
+          "message": "Rename class 'backToMainMenu' to match pascal case naming rules, consider using 'BackToMainMenu'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/backToMainMenu.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S101",
+          "level": "warning",
+          "message": "Rename class 'invitePanelController' to match pascal case naming rules, consider using 'InvitePanelController'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/invitePanelController.cs",
+                "region": {
+                  "startLine": 6,
+                  "startColumn": 14,
+                  "endLine": 6,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'backToMainMenu' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/backToMainMenu.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'invitePanelController' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/invitePanelController.cs",
+                "region": {
+                  "startLine": 6,
+                  "startColumn": 14,
+                  "endLine": 6,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'OnlineGameScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'NewStartLocalGameScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 19,
+                  "endLine": 10,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 19,
+                  "endLine": 11,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 19,
+                  "endLine": 12,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 23,
+                  "endLine": 11,
+                  "endColumn": 47
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 22,
+                  "endLine": 12,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 22,
+                  "endLine": 13,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S4136",
+          "level": "warning",
+          "message": "All 'SetId' method overloads should be adjacent.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 39,
+                  "startColumn": 17,
+                  "endLine": 39,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 179,
+                  "startColumn": 17,
+                  "endLine": 179,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1,
+            "customProperties": {
+              "0": "Non-adjacent overload"
+            }
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs",
+                "region": {
+                  "startLine": 28,
+                  "startColumn": 19,
+                  "endLine": 28,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 21,
+                  "endLine": 17,
+                  "endColumn": 23
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 27,
+                  "endLine": 18,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'NewQuestionData' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionData.cs",
+                "region": {
+                  "startLine": 4,
+                  "startColumn": 14,
+                  "endLine": 4,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'GameManagerScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 14,
+                  "endLine": 8,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1450",
+          "level": "warning",
+          "message": "Remove the field 'gameInfoButton' and declare it as a local variable in the relevant methods.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 81,
+                  "startColumn": 20,
+                  "endLine": 81,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'SettingsScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SettingsScript.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 14,
+                  "endLine": 8,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 27,
+                  "startColumn": 19,
+                  "endLine": 27,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 30,
+                  "startColumn": 16,
+                  "endLine": 30,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 31,
+                  "startColumn": 16,
+                  "endLine": 31,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 32,
+                  "startColumn": 19,
+                  "endLine": 32,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 17,
+                  "endLine": 10,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 17,
+                  "endLine": 9,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 17,
+                  "endLine": 11,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 23,
+                  "endLine": 13,
+                  "endColumn": 40
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 22,
+                  "startColumn": 20,
+                  "endLine": 22,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 23,
+                  "startColumn": 20,
+                  "endLine": 23,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 23,
+                  "endLine": 8,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 23,
+                  "endLine": 11,
+                  "endColumn": 38
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 23,
+                  "endLine": 9,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'AnswerLineInfoScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 14,
+                  "endLine": 8,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S101",
+          "level": "warning",
+          "message": "Rename class 'selectCategoriesPanelController' to match pascal case naming rules, consider using 'SelectCategoriesPanelController'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/selectCategoriesPanelController.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'selectCategoriesPanelController' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/selectCategoriesPanelController.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'QuestionCard' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 14,
+                  "endLine": 8,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'statLines' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 29,
+                  "endLine": 13,
+                  "endColumn": 38
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 30,
+                  "startColumn": 18,
+                  "endLine": 30,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 31,
+                  "startColumn": 16,
+                  "endLine": 31,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 32,
+                  "startColumn": 16,
+                  "endLine": 32,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'StatsScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 33,
+                  "startColumn": 17,
+                  "endLine": 33,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs",
+                "region": {
+                  "startLine": 54,
+                  "startColumn": 19,
+                  "endLine": 54,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/QuestionCard.cs",
+                "region": {
+                  "startLine": 34,
+                  "startColumn": 19,
+                  "endLine": 34,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'Language' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs",
+                "region": {
+                  "startLine": 52,
+                  "startColumn": 14,
+                  "endLine": 52,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs",
+                "region": {
+                  "startLine": 55,
+                  "startColumn": 16,
+                  "endLine": 55,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs",
+                "region": {
+                  "startLine": 56,
+                  "startColumn": 31,
+                  "endLine": 56,
+                  "endColumn": 74
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/selectCategoriesPanelController.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 16,
+                  "endLine": 18,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'TextKeyValue' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs",
+                "region": {
+                  "startLine": 60,
+                  "startColumn": 14,
+                  "endLine": 60,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs",
+                "region": {
+                  "startLine": 62,
+                  "startColumn": 19,
+                  "endLine": 62,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'loginUrl' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 28,
+                  "startColumn": 20,
+                  "endLine": 28,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'Login' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 14,
+                  "endLine": 14,
+                  "endColumn": 19
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs",
+                "region": {
+                  "startLine": 63,
+                  "startColumn": 19,
+                  "endLine": 63,
+                  "endColumn": 24
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 23,
+                  "endLine": 16,
+                  "endColumn": 41
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 23,
+                  "endLine": 17,
+                  "endColumn": 41
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 21,
+                  "startColumn": 19,
+                  "endLine": 21,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 22,
+                  "startColumn": 19,
+                  "endLine": 22,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 24,
+                  "startColumn": 17,
+                  "endLine": 24,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S5332",
+          "level": "warning",
+          "message": "Using http protocol is insecure. Use https instead.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 28,
+                  "startColumn": 31,
+                  "endLine": 28,
+                  "endColumn": 78
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1075",
+          "level": "warning",
+          "message": "Refactor your code not to use hardcoded absolute paths or URIs.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 28,
+                  "startColumn": 31,
+                  "endLine": 28,
+                  "endColumn": 78
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 36,
+                  "startColumn": 23,
+                  "endLine": 36,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 37,
+                  "startColumn": 23,
+                  "endLine": 37,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 38,
+                  "startColumn": 23,
+                  "endLine": 38,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 19,
+                  "endLine": 11,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 19,
+                  "endLine": 12,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 23,
+                  "endLine": 14,
+                  "endColumn": 42
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'NewOnlineGame' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 14,
+                  "endLine": 8,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs",
+                "region": {
+                  "startLine": 15,
+                  "startColumn": 23,
+                  "endLine": 15,
+                  "endColumn": 43
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGame.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 23,
+                  "endLine": 16,
+                  "endColumn": 41
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'TimerScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/TimerScript.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/TimerScript.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 17,
+                  "endLine": 11,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/TimerScript.cs",
+                "region": {
+                  "startLine": 15,
+                  "startColumn": 17,
+                  "endLine": 15,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'OnlineGameSettings' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameSettings.cs",
+                "region": {
+                  "startLine": 5,
+                  "startColumn": 14,
+                  "endLine": 5,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 19,
+                  "endLine": 8,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'BasicDialog' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs",
+                "region": {
+                  "startLine": 6,
+                  "startColumn": 14,
+                  "endLine": 6,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 19,
+                  "endLine": 9,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 17,
+                  "endLine": 10,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 17,
+                  "endLine": 11,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'InformationPanelScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/InformationPanelScript.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 14,
+                  "endLine": 8,
+                  "endColumn": 36
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/InformationPanelScript.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 19,
+                  "endLine": 10,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/InformationPanelScript.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 17,
+                  "endLine": 11,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/InformationPanelScript.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 19,
+                  "endLine": 13,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/InformationPanelScript.cs",
+                "region": {
+                  "startLine": 15,
+                  "startColumn": 19,
+                  "endLine": 15,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'PlayerInfo' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerInfo.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 24
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerInfo.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 17,
+                  "endLine": 9,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerInfo.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 17,
+                  "endLine": 10,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'GenericDialog' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GeneralDialog/GenericDialog.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 14,
+                  "endLine": 8,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'FirebaseStart' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/FirebaseStart.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1450",
+          "level": "warning",
+          "message": "Remove the field 'circleColor' and declare it as a local variable in the relevant methods.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/TimerScript.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 11,
+                  "endLine": 10,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GeneralDialog/GenericDialog.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 17,
+                  "endLine": 9,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GeneralDialog/GenericDialog.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 17,
+                  "endLine": 10,
+                  "endColumn": 24
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GeneralDialog/GenericDialog.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 17,
+                  "endLine": 11,
+                  "endColumn": 23
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GeneralDialog/GenericDialog.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 19,
+                  "endLine": 12,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/FirebaseStart.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 19,
+                  "endLine": 12,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerSetting.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 17,
+                  "endLine": 9,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'LANG' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerSetting.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 33,
+                  "endLine": 12,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerSetting.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 23,
+                  "endLine": 10,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'PlayerSetting' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayerSetting.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'NewGamesButtonPanelScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 19,
+                  "endLine": 10,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 19,
+                  "endLine": 11,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 23,
+                  "endLine": 12,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 23,
+                  "endLine": 13,
+                  "endColumn": 46
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 23,
+                  "endLine": 14,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/TextLocalization.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 19,
+                  "endLine": 7,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'TextLocalization' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/TextLocalization.cs",
+                "region": {
+                  "startLine": 6,
+                  "startColumn": 14,
+                  "endLine": 6,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 22,
+                  "endLine": 10,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 19,
+                  "endLine": 11,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S4144",
+          "level": "warning",
+          "message": "Update this method so that its implementation is not identical to 'Start'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/TextLocalization.cs",
+                "region": {
+                  "startLine": 23,
+                  "startColumn": 17,
+                  "endLine": 23,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/TextLocalization.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 10,
+                  "endLine": 10,
+                  "endColumn": 15
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'LANG' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 31,
+                  "startColumn": 33,
+                  "endLine": 31,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 23,
+                  "endLine": 11,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 19,
+                  "endLine": 12,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 19,
+                  "endLine": 13,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 19,
+                  "endLine": 14,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'LocalGameScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'NewOnlineGameScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 14,
+                  "endLine": 9,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 19,
+                  "endLine": 13,
+                  "endColumn": 38
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewOnlineGameScript.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 23,
+                  "endLine": 14,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 17,
+                  "endLine": 16,
+                  "endColumn": 36
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 17,
+                  "endLine": 17,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 17,
+                  "endLine": 18,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'InviteSearchResult' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InviteSearchResult.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InviteSearchResult.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 17,
+                  "endLine": 9,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InviteSearchResult.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 19,
+                  "endLine": 10,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 33,
+                  "startColumn": 19,
+                  "endLine": 33,
+                  "endColumn": 36
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 34,
+                  "startColumn": 19,
+                  "endLine": 34,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 36,
+                  "startColumn": 16,
+                  "endLine": 36,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 38,
+                  "startColumn": 19,
+                  "endLine": 38,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 39,
+                  "startColumn": 16,
+                  "endLine": 39,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 41,
+                  "startColumn": 19,
+                  "endLine": 41,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 42,
+                  "startColumn": 19,
+                  "endLine": 42,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 43,
+                  "startColumn": 19,
+                  "endLine": 43,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayersScrollPanelScript.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 23,
+                  "endLine": 8,
+                  "endColumn": 42
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 45,
+                  "startColumn": 44,
+                  "endLine": 45,
+                  "endColumn": 51
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 19,
+                  "endLine": 11,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'PlayersScrollPanelScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayersScrollPanelScript.cs",
+                "region": {
+                  "startLine": 6,
+                  "startColumn": 14,
+                  "endLine": 6,
+                  "endColumn": 38
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 19,
+                  "endLine": 12,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 22,
+                  "endLine": 13,
+                  "endColumn": 42
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 22,
+                  "endLine": 14,
+                  "endColumn": 43
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 23,
+                  "endLine": 16,
+                  "endColumn": 38
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 23,
+                  "endLine": 17,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 23,
+                  "endLine": 18,
+                  "endColumn": 41
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 17,
+                  "endLine": 18,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 19,
+                  "startColumn": 17,
+                  "endLine": 19,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'MainMenu' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 14,
+                  "endLine": 9,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 43,
+                  "startColumn": 16,
+                  "endLine": 43,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 45,
+                  "startColumn": 16,
+                  "endLine": 45,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 44,
+                  "startColumn": 16,
+                  "endLine": 44,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 48,
+                  "startColumn": 19,
+                  "endLine": 48,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 46,
+                  "startColumn": 19,
+                  "endLine": 46,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 49,
+                  "startColumn": 19,
+                  "endLine": 49,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 50,
+                  "startColumn": 19,
+                  "endLine": 50,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 47,
+                  "startColumn": 16,
+                  "endLine": 47,
+                  "endColumn": 21
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 60,
+                  "startColumn": 47,
+                  "endLine": 60,
+                  "endColumn": 58
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 109,
+                  "startColumn": 19,
+                  "endLine": 109,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 23,
+                  "endLine": 12,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 23,
+                  "endLine": 13,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 23,
+                  "endLine": 14,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 15,
+                  "startColumn": 17,
+                  "endLine": 15,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameScript.cs",
+                "region": {
+                  "startLine": 61,
+                  "startColumn": 25,
+                  "endLine": 61,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 19,
+                  "endLine": 17,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoPlayerButton.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 19,
+                  "endLine": 10,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S5332",
+          "level": "warning",
+          "message": "Using http protocol is insecure. Use https instead.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 25,
+                  "startColumn": 38,
+                  "endLine": 25,
+                  "endColumn": 88
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoPlayerButton.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 19,
+                  "endLine": 11,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1075",
+          "level": "warning",
+          "message": "Refactor your code not to use hardcoded absolute paths or URIs.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 25,
+                  "startColumn": 38,
+                  "endLine": 25,
+                  "endColumn": 88
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'registerUserUrl' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 25,
+                  "startColumn": 20,
+                  "endLine": 25,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/AnswerTimeSlider.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 19,
+                  "endLine": 9,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/AnswerTimeSlider.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 18,
+                  "endLine": 10,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 19,
+                  "endLine": 12,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 19,
+                  "endLine": 13,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'AnswerLineInfoPlayerButton' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoPlayerButton.cs",
+                "region": {
+                  "startLine": 5,
+                  "startColumn": 14,
+                  "endLine": 5,
+                  "endColumn": 40
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 19,
+                  "endLine": 14,
+                  "endColumn": 38
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'Register' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 14,
+                  "endLine": 11,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'AnswerTimeSlider' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/AnswerTimeSlider.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs",
+                "region": {
+                  "startLine": 15,
+                  "startColumn": 23,
+                  "endLine": 15,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'SelectCategoryScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SelectCategoryScript.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 14,
+                  "endLine": 8,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'StartOnlineGameButton' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 14,
+                  "endLine": 10,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'NewGameSlider' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 14,
+                  "endLine": 8,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 23,
+                  "endLine": 10,
+                  "endColumn": 40
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 23,
+                  "endLine": 11,
+                  "endColumn": 41
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'CategoryPanel' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/CategoryPanel.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/CategoryPanel.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 23,
+                  "endLine": 12,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/CategoryPanel.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 20,
+                  "endLine": 13,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/CategoryPanel.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 24,
+                  "endLine": 14,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/CategoryPanel.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 20,
+                  "endLine": 16,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'CategorySelection' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/CategorySelection.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/CategorySelection.cs",
+                "region": {
+                  "startLine": 15,
+                  "startColumn": 16,
+                  "endLine": 15,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/CategorySelection.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 17,
+                  "endLine": 16,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'InvitePanelScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 19,
+                  "endLine": 8,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 19,
+                  "endLine": 9,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 19,
+                  "endLine": 10,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 23,
+                  "endLine": 12,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 23,
+                  "endLine": 16,
+                  "endColumn": 47
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 19,
+                  "startColumn": 23,
+                  "endLine": 19,
+                  "endColumn": 46
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 23,
+                  "endLine": 18,
+                  "endColumn": 40
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'OnlineGamesPanelUI' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGamesPanelUI.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/DisplayManager.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 17,
+                  "endLine": 7,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/DisplayManager.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 18,
+                  "endLine": 8,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/DisplayManager.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 18,
+                  "endLine": 9,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'DisplayManager' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/DisplayManager.cs",
+                "region": {
+                  "startLine": 5,
+                  "startColumn": 14,
+                  "endLine": 5,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/InputFieldLocalization.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 19,
+                  "endLine": 8,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'EventManager' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/EventManager.cs",
+                "region": {
+                  "startLine": 6,
+                  "startColumn": 14,
+                  "endLine": 6,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'InputFieldLocalization' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/InputFieldLocalization.cs",
+                "region": {
+                  "startLine": 6,
+                  "startColumn": 14,
+                  "endLine": 6,
+                  "endColumn": 36
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S4144",
+          "level": "warning",
+          "message": "Update this method so that its implementation is not identical to 'Start'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/InputFieldLocalization.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 19,
+                  "endLine": 18,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/InputFieldLocalization.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 10,
+                  "endLine": 10,
+                  "endColumn": 15
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 23,
+                  "endLine": 18,
+                  "endColumn": 41
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1450",
+          "level": "warning",
+          "message": "Remove the field 'parents' and declare it as a local variable in the relevant methods.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGamesPanelUI.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 29,
+                  "endLine": 9,
+                  "endColumn": 36
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1450",
+          "level": "warning",
+          "message": "Remove the field 'OnlineGamesPanelRectTransform' and declare it as a local variable in the relevant methods.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGamesPanelUI.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 27,
+                  "endLine": 10,
+                  "endColumn": 56
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1450",
+          "level": "warning",
+          "message": "Remove the field 'titleRect' and declare it as a local variable in the relevant methods.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGamesPanelUI.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 27,
+                  "endLine": 11,
+                  "endColumn": 36
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 176,
+                  "startColumn": 19,
+                  "endLine": 176,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 518,
+                  "startColumn": 19,
+                  "endLine": 518,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 519,
+                  "startColumn": 19,
+                  "endLine": 519,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 70,
+                  "startColumn": 23,
+                  "endLine": 70,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 520,
+                  "startColumn": 19,
+                  "endLine": 520,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 71,
+                  "startColumn": 23,
+                  "endLine": 71,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 73,
+                  "startColumn": 23,
+                  "endLine": 73,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 72,
+                  "startColumn": 23,
+                  "endLine": 72,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 23,
+                  "endLine": 17,
+                  "endColumn": 41
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 216,
+                  "startColumn": 19,
+                  "endLine": 216,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 546,
+                  "startColumn": 19,
+                  "endLine": 546,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 578,
+                  "startColumn": 28,
+                  "endLine": 578,
+                  "endColumn": 43
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 547,
+                  "startColumn": 19,
+                  "endLine": 547,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 548,
+                  "startColumn": 19,
+                  "endLine": 548,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 88,
+                  "startColumn": 23,
+                  "endLine": 88,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 89,
+                  "startColumn": 23,
+                  "endLine": 89,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 90,
+                  "startColumn": 23,
+                  "endLine": 90,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 78,
+                  "startColumn": 31,
+                  "endLine": 78,
+                  "endColumn": 67
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 91,
+                  "startColumn": 23,
+                  "endLine": 91,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 92,
+                  "startColumn": 23,
+                  "endLine": 92,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 93,
+                  "startColumn": 20,
+                  "endLine": 93,
+                  "endColumn": 21
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 94,
+                  "startColumn": 20,
+                  "endLine": 94,
+                  "endColumn": 21
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 96,
+                  "startColumn": 20,
+                  "endLine": 96,
+                  "endColumn": 21
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 95,
+                  "startColumn": 20,
+                  "endLine": 95,
+                  "endColumn": 21
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 83,
+                  "startColumn": 23,
+                  "endLine": 83,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 84,
+                  "startColumn": 23,
+                  "endLine": 84,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'Database' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 14,
+                  "endLine": 10,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'OnlineDatabase' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 14,
+                  "endLine": 11,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 106,
+                  "startColumn": 23,
+                  "endLine": 106,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 107,
+                  "startColumn": 23,
+                  "endLine": 107,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 108,
+                  "startColumn": 20,
+                  "endLine": 108,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 101,
+                  "startColumn": 31,
+                  "endLine": 101,
+                  "endColumn": 67
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 89,
+                  "startColumn": 33,
+                  "endLine": 89,
+                  "endColumn": 72
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 113,
+                  "startColumn": 33,
+                  "endLine": 113,
+                  "endColumn": 72
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 94,
+                  "startColumn": 20,
+                  "endLine": 94,
+                  "endColumn": 21
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 95,
+                  "startColumn": 20,
+                  "endLine": 95,
+                  "endColumn": 21
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 96,
+                  "startColumn": 20,
+                  "endLine": 96,
+                  "endColumn": 21
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 97,
+                  "startColumn": 20,
+                  "endLine": 97,
+                  "endColumn": 21
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 98,
+                  "startColumn": 20,
+                  "endLine": 98,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 99,
+                  "startColumn": 23,
+                  "endLine": 99,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 118,
+                  "startColumn": 23,
+                  "endLine": 118,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 119,
+                  "startColumn": 23,
+                  "endLine": 119,
+                  "endColumn": 42
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 120,
+                  "startColumn": 23,
+                  "endLine": 120,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 132,
+                  "startColumn": 20,
+                  "endLine": 132,
+                  "endColumn": 21
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 133,
+                  "startColumn": 20,
+                  "endLine": 133,
+                  "endColumn": 21
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 134,
+                  "startColumn": 20,
+                  "endLine": 134,
+                  "endColumn": 21
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 135,
+                  "startColumn": 20,
+                  "endLine": 135,
+                  "endColumn": 21
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 136,
+                  "startColumn": 20,
+                  "endLine": 136,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 137,
+                  "startColumn": 23,
+                  "endLine": 137,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 138,
+                  "startColumn": 20,
+                  "endLine": 138,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 125,
+                  "startColumn": 37,
+                  "endLine": 125,
+                  "endColumn": 84
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 109,
+                  "startColumn": 23,
+                  "endLine": 109,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 110,
+                  "startColumn": 23,
+                  "endLine": 110,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 111,
+                  "startColumn": 23,
+                  "endLine": 111,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 112,
+                  "startColumn": 23,
+                  "endLine": 112,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 104,
+                  "startColumn": 31,
+                  "endLine": 104,
+                  "endColumn": 66
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 113,
+                  "startColumn": 23,
+                  "endLine": 113,
+                  "endColumn": 36
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 114,
+                  "startColumn": 23,
+                  "endLine": 114,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 115,
+                  "startColumn": 23,
+                  "endLine": 115,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 116,
+                  "startColumn": 23,
+                  "endLine": 116,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 117,
+                  "startColumn": 23,
+                  "endLine": 117,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 118,
+                  "startColumn": 23,
+                  "endLine": 118,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 148,
+                  "startColumn": 23,
+                  "endLine": 148,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 149,
+                  "startColumn": 23,
+                  "endLine": 149,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 143,
+                  "startColumn": 31,
+                  "endLine": 143,
+                  "endColumn": 66
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 150,
+                  "startColumn": 23,
+                  "endLine": 150,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 152,
+                  "startColumn": 23,
+                  "endLine": 152,
+                  "endColumn": 36
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 151,
+                  "startColumn": 23,
+                  "endLine": 151,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 153,
+                  "startColumn": 23,
+                  "endLine": 153,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 154,
+                  "startColumn": 23,
+                  "endLine": 154,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 155,
+                  "startColumn": 23,
+                  "endLine": 155,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 156,
+                  "startColumn": 23,
+                  "endLine": 156,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 157,
+                  "startColumn": 23,
+                  "endLine": 157,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 158,
+                  "startColumn": 23,
+                  "endLine": 158,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 159,
+                  "startColumn": 23,
+                  "endLine": 159,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 160,
+                  "startColumn": 23,
+                  "endLine": 160,
+                  "endColumn": 42
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 161,
+                  "startColumn": 23,
+                  "endLine": 161,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 162,
+                  "startColumn": 23,
+                  "endLine": 162,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 172,
+                  "startColumn": 23,
+                  "endLine": 172,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 128,
+                  "startColumn": 23,
+                  "endLine": 128,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 173,
+                  "startColumn": 23,
+                  "endLine": 173,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 129,
+                  "startColumn": 23,
+                  "endLine": 129,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 123,
+                  "startColumn": 33,
+                  "endLine": 123,
+                  "endColumn": 73
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 167,
+                  "startColumn": 33,
+                  "endLine": 167,
+                  "endColumn": 73
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'Constants' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Constants.cs",
+                "region": {
+                  "startLine": 5,
+                  "startColumn": 21,
+                  "endLine": 5,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 178,
+                  "startColumn": 31,
+                  "endLine": 178,
+                  "endColumn": 67
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 134,
+                  "startColumn": 31,
+                  "endLine": 134,
+                  "endColumn": 67
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 17,
+                  "endLine": 10,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 17,
+                  "endLine": 11,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 19,
+                  "endLine": 13,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 19,
+                  "endLine": 14,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 22,
+                  "endLine": 16,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 22,
+                  "endLine": 17,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 23,
+                  "endLine": 11,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 23,
+                  "endLine": 12,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'PENDING' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs",
+                "region": {
+                  "startLine": 21,
+                  "startColumn": 20,
+                  "endLine": 21,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs",
+                "region": {
+                  "startLine": 25,
+                  "startColumn": 16,
+                  "endLine": 25,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 23,
+                  "endLine": 14,
+                  "endColumn": 38
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'ACCEPTED' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs",
+                "region": {
+                  "startLine": 22,
+                  "startColumn": 20,
+                  "endLine": 22,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 19,
+                  "endLine": 9,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2933",
+          "level": "warning",
+          "message": "Make 'DECLINED' 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs",
+                "region": {
+                  "startLine": 23,
+                  "startColumn": 20,
+                  "endLine": 23,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 19,
+                  "endLine": 10,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 23,
+                  "endLine": 12,
+                  "endColumn": 38
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 23,
+                  "endLine": 13,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 15,
+                  "startColumn": 23,
+                  "endLine": 15,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 23,
+                  "endLine": 14,
+                  "endColumn": 41
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewDropZoneScript.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 17,
+                  "endLine": 12,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'OnlinePlayerInfoScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlinePlayerInfoScript.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 36
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewDropZoneScript.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 17,
+                  "endLine": 13,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs",
+                "region": {
+                  "startLine": 22,
+                  "startColumn": 17,
+                  "endLine": 22,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewDropZoneScript.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 23,
+                  "endLine": 14,
+                  "endColumn": 51
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'NewQuestionCardController' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionCardController.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 14,
+                  "endLine": 9,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'GamesScrollController' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 7,
+                  "startColumn": 14,
+                  "endLine": 7,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs",
+                "region": {
+                  "startLine": 9,
+                  "startColumn": 16,
+                  "endLine": 9,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 30,
+                  "endLine": 10,
+                  "endColumn": 47
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2223",
+          "level": "warning",
+          "message": "Change the visibility of 'itemBeeingDragged' or make it 'const' or 'readonly'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 30,
+                  "endLine": 10,
+                  "endColumn": 47
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 23,
+                  "endLine": 11,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 23,
+                  "endLine": 12,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'NewDropZoneScript' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewDropZoneScript.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 14,
+                  "endLine": 10,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'LocalizationManager' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs",
+                "region": {
+                  "startLine": 6,
+                  "startColumn": 14,
+                  "endLine": 6,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'NewQuestionDragController' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 14,
+                  "endLine": 8,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs",
+                "region": {
+                  "startLine": 11,
+                  "startColumn": 28,
+                  "endLine": 11,
+                  "endColumn": 65
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 27,
+                  "endLine": 12,
+                  "endColumn": 59
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 23,
+                  "endLine": 10,
+                  "endColumn": 41
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs",
+                "region": {
+                  "startLine": 12,
+                  "startColumn": 17,
+                  "endLine": 12,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'NewQuestionsPanel' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 14,
+                  "endLine": 8,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 17,
+                  "endLine": 13,
+                  "endColumn": 29
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 17,
+                  "endLine": 14,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1104",
+          "level": "warning",
+          "message": "Make this field 'private' and encapsulate it in a 'public' property.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs",
+                "region": {
+                  "startLine": 15,
+                  "startColumn": 23,
+                  "endLine": 15,
+                  "endColumn": 43
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2292",
+          "level": "warning",
+          "message": "Make this an auto-implemented property and remove its backing field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/NewQuestionsPanel.cs",
+                "region": {
+                  "startLine": 22,
+                  "startColumn": 28,
+                  "endLine": 22,
+                  "endColumn": 40
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3903",
+          "level": "warning",
+          "message": "Move 'BringToFront' into a named namespace.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/ModalPanel/BringToFront.cs",
+                "region": {
+                  "startLine": 4,
+                  "startColumn": 14,
+                  "endLine": 4,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs",
+                "region": {
+                  "startLine": 34,
+                  "startColumn": 10,
+                  "endLine": 34,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs",
+                "region": {
+                  "startLine": 36,
+                  "startColumn": 10,
+                  "endLine": 36,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/BasicDialog.cs",
+                "region": {
+                  "startLine": 40,
+                  "startColumn": 10,
+                  "endLine": 40,
+                  "endColumn": 23
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1125",
+          "level": "warning",
+          "message": "Remove the unnecessary Boolean literal(s).",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 100,
+                  "endLine": 18,
+                  "endColumn": 112
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1125",
+          "level": "warning",
+          "message": "Remove the unnecessary Boolean literal(s).",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 19,
+                  "startColumn": 96,
+                  "endLine": 19,
+                  "endColumn": 108
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1125",
+          "level": "warning",
+          "message": "Remove the unnecessary Boolean literal(s).",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 20,
+                  "startColumn": 98,
+                  "endLine": 20,
+                  "endColumn": 110
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3776",
+          "level": "warning",
+          "message": "Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 17,
+                  "endLine": 17,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 98,
+                  "endLine": 18,
+                  "endColumn": 99
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 19,
+                  "startColumn": 94,
+                  "endLine": 19,
+                  "endColumn": 95
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 20,
+                  "startColumn": 96,
+                  "endLine": 20,
+                  "endColumn": 97
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 23,
+                  "startColumn": 9,
+                  "endLine": 23,
+                  "endColumn": 11
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 24,
+                  "startColumn": 9,
+                  "endLine": 24,
+                  "endColumn": 11
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 25,
+                  "startColumn": 9,
+                  "endLine": 25,
+                  "endColumn": 11
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 28,
+                  "startColumn": 9,
+                  "endLine": 28,
+                  "endColumn": 11
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 29,
+                  "startColumn": 13,
+                  "endLine": 29,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 31,
+                  "startColumn": 15,
+                  "endLine": 31,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 36,
+                  "startColumn": 11,
+                  "endLine": 36,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 37,
+                  "startColumn": 13,
+                  "endLine": 37,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 39,
+                  "startColumn": 15,
+                  "endLine": 39,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 44,
+                  "startColumn": 11,
+                  "endLine": 44,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 45,
+                  "startColumn": 13,
+                  "endLine": 45,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 47,
+                  "startColumn": 15,
+                  "endLine": 47,
+                  "endColumn": 19
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1,
+            "customProperties": {
+              "0": "+1",
+              "1": "+1",
+              "10": "+2 (incl 1 for nesting)",
+              "11": "+1",
+              "12": "+1",
+              "13": "+2 (incl 1 for nesting)",
+              "14": "+1",
+              "2": "+1",
+              "3": "+1",
+              "4": "+1",
+              "5": "+1",
+              "6": "+1",
+              "7": "+2 (incl 1 for nesting)",
+              "8": "+1",
+              "9": "+1"
+            }
+          }
+        },
+        {
+          "ruleId": "S1854",
+          "level": "warning",
+          "message": "Remove this useless assignment to local variable 'numberExpanded'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 25,
+                  "startColumn": 31,
+                  "endLine": 25,
+                  "endColumn": 47
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1116",
+          "level": "warning",
+          "message": "Remove this empty statement.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 23,
+                  "startColumn": 50,
+                  "endLine": 23,
+                  "endColumn": 51
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1116",
+          "level": "warning",
+          "message": "Remove this empty statement.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 24,
+                  "startColumn": 49,
+                  "endLine": 24,
+                  "endColumn": 50
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1116",
+          "level": "warning",
+          "message": "Remove this empty statement.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GamesScrollController.cs",
+                "region": {
+                  "startLine": 25,
+                  "startColumn": 50,
+                  "endLine": 25,
+                  "endColumn": 51
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2696",
+          "level": "warning",
+          "message": "Make the enclosing instance method 'static' or remove this set on the 'static' field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 69,
+                  "startColumn": 13,
+                  "endLine": 69,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 34,
+                  "startColumn": 19,
+                  "endLine": 34,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2696",
+          "level": "warning",
+          "message": "Make the enclosing instance method 'static' or remove this set on the 'static' field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 13,
+                  "endLine": 18,
+                  "endColumn": 23
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Localization/LocalizationManager.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 40,
+                  "endLine": 14,
+                  "endColumn": 48
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1905",
+          "level": "warning",
+          "message": "Remove this unnecessary cast to 'GameObject'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/LocalGameScript.cs",
+                "region": {
+                  "startLine": 59,
+                  "startColumn": 95,
+                  "endLine": 59,
+                  "endColumn": 108
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1905",
+          "level": "warning",
+          "message": "Remove this unnecessary cast to 'GameObject'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/GameInfoScript.cs",
+                "region": {
+                  "startLine": 49,
+                  "startColumn": 100,
+                  "endLine": 49,
+                  "endColumn": 113
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/CategorySelection.cs",
+                "region": {
+                  "startLine": 28,
+                  "startColumn": 10,
+                  "endLine": 28,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2696",
+          "level": "warning",
+          "message": "Make the enclosing instance property 'static' or remove this set on the 'static' field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs",
+                "region": {
+                  "startLine": 16,
+                  "startColumn": 56,
+                  "endLine": 16,
+                  "endColumn": 68
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs",
+                "region": {
+                  "startLine": 13,
+                  "startColumn": 25,
+                  "endLine": 13,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2696",
+          "level": "warning",
+          "message": "Remove this set, which updates a 'static' field from an instance method.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs",
+                "region": {
+                  "startLine": 39,
+                  "startColumn": 9,
+                  "endLine": 39,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 30,
+                  "endLine": 10,
+                  "endColumn": 47
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2696",
+          "level": "warning",
+          "message": "Remove this set, which updates a 'static' field from an instance method.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs",
+                "region": {
+                  "startLine": 26,
+                  "startColumn": 9,
+                  "endLine": 26,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/NewQuestionDragController.cs",
+                "region": {
+                  "startLine": 10,
+                  "startColumn": 30,
+                  "endLine": 10,
+                  "endColumn": 47
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'salt' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 101,
+                  "startColumn": 16,
+                  "endLine": 101,
+                  "endColumn": 20
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'password' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 102,
+                  "startColumn": 16,
+                  "endLine": 102,
+                  "endColumn": 24
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1481",
+          "level": "warning",
+          "message": "Remove the unused local variable 'result'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 125,
+                  "startColumn": 20,
+                  "endLine": 125,
+                  "endColumn": 26
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/AnswerTimeSlider.cs",
+                "region": {
+                  "startLine": 23,
+                  "startColumn": 10,
+                  "endLine": 23,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1481",
+          "level": "warning",
+          "message": "Remove the unused local variable 'inviteUsers'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/StartOnlineGameButton.cs",
+                "region": {
+                  "startLine": 49,
+                  "startColumn": 34,
+                  "endLine": 49,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs",
+                "region": {
+                  "startLine": 19,
+                  "startColumn": 10,
+                  "endLine": 19,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S4790",
+          "level": "warning",
+          "message": "Make sure this weak hash algorithm is not used in a sensitive context here.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Register.cs",
+                "region": {
+                  "startLine": 144,
+                  "startColumn": 42,
+                  "endLine": 144,
+                  "endColumn": 73
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1125",
+          "level": "warning",
+          "message": "Remove the unnecessary Boolean literal(s).",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs",
+                "region": {
+                  "startLine": 42,
+                  "startColumn": 45,
+                  "endLine": 42,
+                  "endColumn": 57
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1125",
+          "level": "warning",
+          "message": "Remove the unnecessary Boolean literal(s).",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs",
+                "region": {
+                  "startLine": 43,
+                  "startColumn": 47,
+                  "endLine": 43,
+                  "endColumn": 59
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1481",
+          "level": "warning",
+          "message": "Remove the unused local variable 'localGameSettings'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs",
+                "region": {
+                  "startLine": 25,
+                  "startColumn": 21,
+                  "endLine": 25,
+                  "endColumn": 38
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1481",
+          "level": "warning",
+          "message": "Remove the unused local variable 'onlineGameSettings'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewGameSlider.cs",
+                "region": {
+                  "startLine": 26,
+                  "startColumn": 21,
+                  "endLine": 26,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GeneralDialog/GenericDialog.cs",
+                "region": {
+                  "startLine": 28,
+                  "startColumn": 13,
+                  "endLine": 28,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3267",
+          "level": "warning",
+          "message": "Loops should be simplified with \"LINQ\" expressions",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 43,
+                  "startColumn": 44,
+                  "endLine": 43,
+                  "endColumn": 51
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 44,
+                  "startColumn": 17,
+                  "endLine": 44,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartOnlineGameScript.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 10,
+                  "endLine": 8,
+                  "endColumn": 15
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartOnlineGameScript.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 10,
+                  "endLine": 14,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3267",
+          "level": "warning",
+          "message": "Loops should be simplified with \"LINQ\" expressions",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 64,
+                  "startColumn": 43,
+                  "endLine": 64,
+                  "endColumn": 93
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 65,
+                  "startColumn": 17,
+                  "endLine": 65,
+                  "endColumn": 35
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1125",
+          "level": "warning",
+          "message": "Remove the unnecessary Boolean literal(s).",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 75,
+                  "startColumn": 26,
+                  "endLine": 75,
+                  "endColumn": 36
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1481",
+          "level": "warning",
+          "message": "Remove the unused local variable 'step'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 210,
+                  "startColumn": 19,
+                  "endLine": 210,
+                  "endColumn": 23
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 230,
+                  "startColumn": 17,
+                  "endLine": 230,
+                  "endColumn": 44
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3776",
+          "level": "warning",
+          "message": "Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 48,
+                  "startColumn": 17,
+                  "endLine": 48,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 54,
+                  "startColumn": 9,
+                  "endLine": 54,
+                  "endColumn": 16
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 61,
+                  "startColumn": 9,
+                  "endLine": 61,
+                  "endColumn": 11
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 63,
+                  "startColumn": 13,
+                  "endLine": 63,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 64,
+                  "startColumn": 17,
+                  "endLine": 64,
+                  "endColumn": 24
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 66,
+                  "startColumn": 21,
+                  "endLine": 66,
+                  "endColumn": 23
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 66,
+                  "startColumn": 50,
+                  "endLine": 66,
+                  "endColumn": 52
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 69,
+                  "startColumn": 21,
+                  "endLine": 69,
+                  "endColumn": 23
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 72,
+                  "startColumn": 23,
+                  "endLine": 72,
+                  "endColumn": 27
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 78,
+                  "startColumn": 11,
+                  "endLine": 78,
+                  "endColumn": 15
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1,
+            "customProperties": {
+              "0": "+1",
+              "1": "+1",
+              "2": "+2 (incl 1 for nesting)",
+              "3": "+3 (incl 2 for nesting)",
+              "4": "+4 (incl 3 for nesting)",
+              "5": "+1",
+              "6": "+4 (incl 3 for nesting)",
+              "7": "+1",
+              "8": "+1"
+            }
+          }
+        },
+        {
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 89,
+                  "startColumn": 14,
+                  "endLine": 89,
+                  "endColumn": 40
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1854",
+          "level": "warning",
+          "message": "Remove this useless assignment to local variable 'resCount'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 120,
+                  "startColumn": 47,
+                  "endLine": 120,
+                  "endColumn": 57
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3267",
+          "level": "warning",
+          "message": "Loops should be simplified with \"LINQ\" expressions",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 107,
+                  "startColumn": 53,
+                  "endLine": 107,
+                  "endColumn": 58
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 108,
+                  "startColumn": 21,
+                  "endLine": 108,
+                  "endColumn": 59
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1905",
+          "level": "warning",
+          "message": "Remove this unnecessary cast to 'GameObject'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/InvitePanelScript.cs",
+                "region": {
+                  "startLine": 115,
+                  "startColumn": 121,
+                  "endLine": 115,
+                  "endColumn": 134
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1905",
+          "level": "warning",
+          "message": "Remove this unnecessary cast to 'GameObject'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs",
+                "region": {
+                  "startLine": 76,
+                  "startColumn": 95,
+                  "endLine": 76,
+                  "endColumn": 108
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2589",
+          "level": "warning",
+          "message": "Change this condition so that it does not always evaluate to 'false'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 66,
+                  "startColumn": 25,
+                  "endLine": 66,
+                  "endColumn": 49
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3776",
+          "level": "warning",
+          "message": "Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 252,
+                  "startColumn": 18,
+                  "endLine": 252,
+                  "endColumn": 28
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 254,
+                  "startColumn": 9,
+                  "endLine": 254,
+                  "endColumn": 11
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 258,
+                  "startColumn": 9,
+                  "endLine": 258,
+                  "endColumn": 12
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 259,
+                  "startColumn": 13,
+                  "endLine": 259,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 260,
+                  "startColumn": 17,
+                  "endLine": 260,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 263,
+                  "startColumn": 19,
+                  "endLine": 263,
+                  "endColumn": 23
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 265,
+                  "startColumn": 21,
+                  "endLine": 265,
+                  "endColumn": 23
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 280,
+                  "startColumn": 13,
+                  "endLine": 280,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 282,
+                  "startColumn": 15,
+                  "endLine": 282,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 294,
+                  "startColumn": 13,
+                  "endLine": 294,
+                  "endColumn": 15
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1,
+            "customProperties": {
+              "0": "+1",
+              "1": "+1",
+              "2": "+2 (incl 1 for nesting)",
+              "3": "+3 (incl 2 for nesting)",
+              "4": "+1",
+              "5": "+4 (incl 3 for nesting)",
+              "6": "+2 (incl 1 for nesting)",
+              "7": "+1",
+              "8": "+2 (incl 1 for nesting)"
+            }
+          }
+        },
+        {
+          "ruleId": "S1854",
+          "level": "warning",
+          "message": "Remove this useless assignment to local variable 'questions'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 279,
+                  "startColumn": 35,
+                  "endLine": 279,
+                  "endColumn": 74
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'players' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 45,
+                  "startColumn": 41,
+                  "endLine": 45,
+                  "endColumn": 48
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S5332",
+          "level": "warning",
+          "message": "Using http protocol is insecure. Use https instead.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 122,
+                  "startColumn": 51,
+                  "endLine": 122,
+                  "endColumn": 70
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2589",
+          "level": "warning",
+          "message": "Change this condition so that it does not always evaluate to 'false'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 104,
+                  "startColumn": 17,
+                  "endLine": 104,
+                  "endColumn": 40
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1481",
+          "level": "warning",
+          "message": "Remove the unused local variable 'loggedInUser'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 85,
+                  "startColumn": 35,
+                  "endLine": 85,
+                  "endColumn": 47
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1125",
+          "level": "warning",
+          "message": "Remove the unnecessary Boolean literal(s).",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 141,
+                  "startColumn": 43,
+                  "endLine": 141,
+                  "endColumn": 53
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1125",
+          "level": "warning",
+          "message": "Remove the unnecessary Boolean literal(s).",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 142,
+                  "startColumn": 47,
+                  "endLine": 142,
+                  "endColumn": 59
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1075",
+          "level": "warning",
+          "message": "Refactor your code not to use hardcoded absolute paths or URIs.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainMenu.cs",
+                "region": {
+                  "startLine": 122,
+                  "startColumn": 51,
+                  "endLine": 122,
+                  "endColumn": 70
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3267",
+          "level": "warning",
+          "message": "Loops should be simplified with \"LINQ\" expressions",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs",
+                "region": {
+                  "startLine": 97,
+                  "startColumn": 34,
+                  "endLine": 97,
+                  "endColumn": 43
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs",
+                "region": {
+                  "startLine": 98,
+                  "startColumn": 17,
+                  "endLine": 98,
+                  "endColumn": 47
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3400",
+          "level": "warning",
+          "message": "Remove this method and declare a constant for this value.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 311,
+                  "startColumn": 19,
+                  "endLine": 311,
+                  "endColumn": 30
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2696",
+          "level": "warning",
+          "message": "Make the enclosing instance method 'static' or remove this set on the 'static' field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 261,
+                  "startColumn": 21,
+                  "endLine": 261,
+                  "endColumn": 36
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 34,
+                  "startColumn": 19,
+                  "endLine": 34,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1481",
+          "level": "warning",
+          "message": "Remove the unused local variable 'ips'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/GameManagerScript.cs",
+                "region": {
+                  "startLine": 292,
+                  "startColumn": 36,
+                  "endLine": 292,
+                  "endColumn": 39
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3267",
+          "level": "warning",
+          "message": "Loops should be simplified with \"LINQ\" expressions",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs",
+                "region": {
+                  "startLine": 119,
+                  "startColumn": 34,
+                  "endLine": 119,
+                  "endColumn": 43
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/StatsScript.cs",
+                "region": {
+                  "startLine": 120,
+                  "startColumn": 17,
+                  "endLine": 120,
+                  "endColumn": 48
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3776",
+          "level": "warning",
+          "message": "Refactor this method to reduce its Cognitive Complexity from 56 to the 15 allowed.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 63,
+                  "startColumn": 17,
+                  "endLine": 63,
+                  "endColumn": 34
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 64,
+                  "startColumn": 9,
+                  "endLine": 64,
+                  "endColumn": 11
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 68,
+                  "startColumn": 9,
+                  "endLine": 68,
+                  "endColumn": 11
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 71,
+                  "startColumn": 11,
+                  "endLine": 71,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 75,
+                  "startColumn": 13,
+                  "endLine": 75,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 75,
+                  "startColumn": 69,
+                  "endLine": 75,
+                  "endColumn": 71
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 77,
+                  "startColumn": 15,
+                  "endLine": 77,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 77,
+                  "startColumn": 75,
+                  "endLine": 77,
+                  "endColumn": 77
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 82,
+                  "startColumn": 13,
+                  "endLine": 82,
+                  "endColumn": 16
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 83,
+                  "startColumn": 17,
+                  "endLine": 83,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 84,
+                  "startColumn": 21,
+                  "endLine": 84,
+                  "endColumn": 23
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 85,
+                  "startColumn": 25,
+                  "endLine": 85,
+                  "endColumn": 27
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 87,
+                  "startColumn": 27,
+                  "endLine": 87,
+                  "endColumn": 31
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 91,
+                  "startColumn": 25,
+                  "endLine": 91,
+                  "endColumn": 27
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 92,
+                  "startColumn": 29,
+                  "endLine": 92,
+                  "endColumn": 31
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 94,
+                  "startColumn": 31,
+                  "endLine": 94,
+                  "endColumn": 35
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 97,
+                  "startColumn": 27,
+                  "endLine": 97,
+                  "endColumn": 31
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 98,
+                  "startColumn": 29,
+                  "endLine": 98,
+                  "endColumn": 31
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 100,
+                  "startColumn": 31,
+                  "endLine": 100,
+                  "endColumn": 35
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 106,
+                  "startColumn": 23,
+                  "endLine": 106,
+                  "endColumn": 27
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 107,
+                  "startColumn": 25,
+                  "endLine": 107,
+                  "endColumn": 27
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 109,
+                  "startColumn": 27,
+                  "endLine": 109,
+                  "endColumn": 31
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 114,
+                  "startColumn": 25,
+                  "endLine": 114,
+                  "endColumn": 27
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/AnswerLineInfoScript.cs",
+                "region": {
+                  "startLine": 116,
+                  "startColumn": 27,
+                  "endLine": 116,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1,
+            "customProperties": {
+              "0": "+1",
+              "1": "+1",
+              "10": "+5 (incl 4 for nesting)",
+              "11": "+1",
+              "12": "+5 (incl 4 for nesting)",
+              "13": "+6 (incl 5 for nesting)",
+              "14": "+1",
+              "15": "+1",
+              "16": "+6 (incl 5 for nesting)",
+              "17": "+1",
+              "18": "+1",
+              "19": "+5 (incl 4 for nesting)",
+              "2": "+1",
+              "20": "+1",
+              "21": "+5 (incl 4 for nesting)",
+              "22": "+1",
+              "3": "+2 (incl 1 for nesting)",
+              "4": "+1",
+              "5": "+1",
+              "6": "+1",
+              "7": "+2 (incl 1 for nesting)",
+              "8": "+3 (incl 2 for nesting)",
+              "9": "+4 (incl 3 for nesting)"
+            }
+          }
+        },
+        {
+          "ruleId": "S3267",
+          "level": "warning",
+          "message": "Loop should be simplified by calling Select(ps => ps.nameInput))",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs",
+                "region": {
+                  "startLine": 24,
+                  "startColumn": 38,
+                  "endLine": 24,
+                  "endColumn": 52
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S108",
+          "level": "warning",
+          "message": "Either remove or fill this block of code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 138,
+                  "startColumn": 48,
+                  "endLine": 140,
+                  "endColumn": 10
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SettingsScript.cs",
+                "region": {
+                  "startLine": 28,
+                  "startColumn": 10,
+                  "endLine": 28,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1116",
+          "level": "warning",
+          "message": "Remove this empty statement.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/MainGame/ScrollViewScript.cs",
+                "region": {
+                  "startLine": 159,
+                  "startColumn": 118,
+                  "endLine": 159,
+                  "endColumn": 119
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameSettings.cs",
+                "region": {
+                  "startLine": 8,
+                  "startColumn": 10,
+                  "endLine": 8,
+                  "endColumn": 15
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/OnlineGameSettings.cs",
+                "region": {
+                  "startLine": 14,
+                  "startColumn": 10,
+                  "endLine": 14,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2589",
+          "level": "warning",
+          "message": "Change this condition so that it does not always evaluate to 'true'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/NewStartLocalGameScript.cs",
+                "region": {
+                  "startLine": 58,
+                  "startColumn": 13,
+                  "endLine": 58,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 184,
+                  "startColumn": 36,
+                  "endLine": 184,
+                  "endColumn": 58
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2696",
+          "level": "warning",
+          "message": "Make the enclosing instance method 'static' or remove this set on the 'static' field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 181,
+                  "startColumn": 13,
+                  "endLine": 181,
+                  "endColumn": 23
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 20,
+                  "startColumn": 29,
+                  "endLine": 20,
+                  "endColumn": 37
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2971",
+          "level": "warning",
+          "message": "Drop 'Where' and move the condition into the 'First'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/SettingsScript.cs",
+                "region": {
+                  "startLine": 39,
+                  "startColumn": 110,
+                  "endLine": 39,
+                  "endColumn": 115
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2696",
+          "level": "warning",
+          "message": "Make the enclosing instance method 'static' or remove this set on the 'static' field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 24,
+                  "startColumn": 13,
+                  "endLine": 24,
+                  "endColumn": 23
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 19,
+                  "startColumn": 35,
+                  "endLine": 19,
+                  "endColumn": 43
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/invitePanelController.cs",
+                "region": {
+                  "startLine": 17,
+                  "startColumn": 10,
+                  "endLine": 17,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S4790",
+          "level": "warning",
+          "message": "Make sure this weak hash algorithm is not used in a sensitive context here.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 138,
+                  "startColumn": 46,
+                  "endLine": 138,
+                  "endColumn": 77
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1905",
+          "level": "warning",
+          "message": "Remove this unnecessary cast to 'GameObject'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 300,
+                  "startColumn": 89,
+                  "endLine": 300,
+                  "endColumn": 102
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 132,
+                  "startColumn": 14,
+                  "endLine": 132,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1481",
+          "level": "warning",
+          "message": "Remove the unused local variable 'sb'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Login/Login.cs",
+                "region": {
+                  "startLine": 119,
+                  "startColumn": 23,
+                  "endLine": 119,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S108",
+          "level": "warning",
+          "message": "Either remove or fill this block of code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 190,
+                  "startColumn": 33,
+                  "endLine": 191,
+                  "endColumn": 14
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 339,
+                  "startColumn": 27,
+                  "endLine": 339,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2259",
+          "level": "warning",
+          "message": "'lgs' is null on at least one execution path.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 321,
+                  "startColumn": 17,
+                  "endLine": 321,
+                  "endColumn": 20
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 287,
+                  "startColumn": 23,
+                  "endLine": 287,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 72,
+                  "startColumn": 13,
+                  "endLine": 72,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S108",
+          "level": "warning",
+          "message": "Either remove or fill this block of code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 204,
+                  "startColumn": 33,
+                  "endLine": 205,
+                  "endColumn": 14
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 355,
+                  "startColumn": 23,
+                  "endLine": 355,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1186",
+          "level": "warning",
+          "message": "Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayersScrollPanelScript.cs",
+                "region": {
+                  "startLine": 18,
+                  "startColumn": 10,
+                  "endLine": 18,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 370,
+                  "startColumn": 23,
+                  "endLine": 370,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2696",
+          "level": "warning",
+          "message": "Make the enclosing instance method 'static' or remove this set on the 'static' field.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 240,
+                  "startColumn": 13,
+                  "endLine": 240,
+                  "endColumn": 23
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 19,
+                  "startColumn": 35,
+                  "endLine": 19,
+                  "endColumn": 43
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 251,
+                  "startColumn": 14,
+                  "endLine": 251,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1905",
+          "level": "warning",
+          "message": "Remove this unnecessary cast to 'GameObject'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/NewGameScene/PlayersScrollPanelScript.cs",
+                "region": {
+                  "startLine": 27,
+                  "startColumn": 106,
+                  "endLine": 27,
+                  "endColumn": 119
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 411,
+                  "startColumn": 27,
+                  "endLine": 411,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 389,
+                  "startColumn": 23,
+                  "endLine": 389,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 424,
+                  "startColumn": 23,
+                  "endLine": 424,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3776",
+          "level": "warning",
+          "message": "Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 289,
+                  "startColumn": 37,
+                  "endLine": 289,
+                  "endColumn": 51
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 299,
+                  "startColumn": 9,
+                  "endLine": 299,
+                  "endColumn": 11
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 299,
+                  "startColumn": 56,
+                  "endLine": 299,
+                  "endColumn": 58
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 315,
+                  "startColumn": 9,
+                  "endLine": 315,
+                  "endColumn": 16
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 317,
+                  "startColumn": 13,
+                  "endLine": 317,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 318,
+                  "startColumn": 17,
+                  "endLine": 318,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 320,
+                  "startColumn": 21,
+                  "endLine": 320,
+                  "endColumn": 23
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 320,
+                  "startColumn": 48,
+                  "endLine": 320,
+                  "endColumn": 50
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 329,
+                  "startColumn": 17,
+                  "endLine": 329,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 334,
+                  "startColumn": 15,
+                  "endLine": 334,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 337,
+                  "startColumn": 17,
+                  "endLine": 337,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 347,
+                  "startColumn": 9,
+                  "endLine": 347,
+                  "endColumn": 11
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 347,
+                  "startColumn": 36,
+                  "endLine": 347,
+                  "endColumn": 38
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1,
+            "customProperties": {
+              "0": "+1",
+              "1": "+1",
+              "10": "+1",
+              "11": "+1",
+              "2": "+1",
+              "3": "+2 (incl 1 for nesting)",
+              "4": "+3 (incl 2 for nesting)",
+              "5": "+4 (incl 3 for nesting)",
+              "6": "+1",
+              "7": "+3 (incl 2 for nesting)",
+              "8": "+1",
+              "9": "+3 (incl 2 for nesting)"
+            }
+          }
+        },
+        {
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 283,
+                  "startColumn": 14,
+                  "endLine": 283,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 462,
+                  "startColumn": 27,
+                  "endLine": 462,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 446,
+                  "startColumn": 27,
+                  "endLine": 446,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3776",
+          "level": "warning",
+          "message": "Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 355,
+                  "startColumn": 18,
+                  "endLine": 355,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 356,
+                  "startColumn": 9,
+                  "endLine": 356,
+                  "endColumn": 11
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 357,
+                  "startColumn": 13,
+                  "endLine": 357,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 359,
+                  "startColumn": 15,
+                  "endLine": 359,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 360,
+                  "startColumn": 17,
+                  "endLine": 360,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 360,
+                  "startColumn": 69,
+                  "endLine": 360,
+                  "endColumn": 71
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 364,
+                  "startColumn": 11,
+                  "endLine": 364,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 365,
+                  "startColumn": 13,
+                  "endLine": 365,
+                  "endColumn": 15
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 366,
+                  "startColumn": 17,
+                  "endLine": 366,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 370,
+                  "startColumn": 15,
+                  "endLine": 370,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 371,
+                  "startColumn": 17,
+                  "endLine": 371,
+                  "endColumn": 19
+                }
+              }
+            },
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 371,
+                  "startColumn": 69,
+                  "endLine": 371,
+                  "endColumn": 71
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1,
+            "customProperties": {
+              "0": "+1",
+              "1": "+2 (incl 1 for nesting)",
+              "10": "+1",
+              "2": "+1",
+              "3": "+3 (incl 2 for nesting)",
+              "4": "+1",
+              "5": "+1",
+              "6": "+2 (incl 1 for nesting)",
+              "7": "+3 (incl 2 for nesting)",
+              "8": "+1",
+              "9": "+3 (incl 2 for nesting)"
+            }
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 480,
+                  "startColumn": 27,
+                  "endLine": 480,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S108",
+          "level": "warning",
+          "message": "Either remove or fill this block of code.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 532,
+                  "startColumn": 42,
+                  "endLine": 532,
+                  "endColumn": 45
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1066",
+          "level": "warning",
+          "message": "Merge this if statement with the enclosing one.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 360,
+                  "startColumn": 17,
+                  "endLine": 360,
+                  "endColumn": 19
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 359,
+                  "startColumn": 20,
+                  "endLine": 359,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1066",
+          "level": "warning",
+          "message": "Merge this if statement with the enclosing one.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 371,
+                  "startColumn": 17,
+                  "endLine": 371,
+                  "endColumn": 19
+                }
+              }
+            }
+          ],
+          "relatedLocations": [
+            {
+              "physicalLocation": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 370,
+                  "startColumn": 20,
+                  "endLine": 370,
+                  "endColumn": 22
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1905",
+          "level": "warning",
+          "message": "Remove this unnecessary cast to 'GameObject'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 325,
+                  "startColumn": 96,
+                  "endLine": 325,
+                  "endColumn": 109
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 502,
+                  "startColumn": 23,
+                  "endLine": 502,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1168",
+          "level": "warning",
+          "message": "Return an empty collection instead of null.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 300,
+                  "startColumn": 13,
+                  "endLine": 300,
+                  "endColumn": 25
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1172",
+          "level": "warning",
+          "message": "Remove this unused method parameter 'userName'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 378,
+                  "startColumn": 36,
+                  "endLine": 378,
+                  "endColumn": 51
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1,
+            "customProperties": {
+              "IsRemovable": "True"
+            }
+          }
+        },
+        {
+          "ruleId": "S1172",
+          "level": "warning",
+          "message": "Remove this unused method parameter 'gameId'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 378,
+                  "startColumn": 75,
+                  "endLine": 378,
+                  "endColumn": 85
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1,
+            "customProperties": {
+              "IsRemovable": "True"
+            }
+          }
+        },
+        {
+          "ruleId": "S2259",
+          "level": "warning",
+          "message": "'ogs' is null on at least one execution path.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 335,
+                  "startColumn": 17,
+                  "endLine": 335,
+                  "endColumn": 20
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S2259",
+          "level": "warning",
+          "message": "'ogs' is null on at least one execution path.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 347,
+                  "startColumn": 13,
+                  "endLine": 347,
+                  "endColumn": 16
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 299,
+                  "startColumn": 59,
+                  "endLine": 299,
+                  "endColumn": 78
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 418,
+                  "startColumn": 14,
+                  "endLine": 418,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 551,
+                  "startColumn": 23,
+                  "endLine": 551,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 438,
+                  "startColumn": 14,
+                  "endLine": 438,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
+        },
+        {
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 449,
+                  "startColumn": 13,
+                  "endLine": 449,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\NewQuestion.cs' could not be found."
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 570,
+                  "startColumn": 27,
+                  "endLine": 570,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\RoundButtonsScript.cs' could not be found."
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 463,
+                  "startColumn": 14,
+                  "endLine": 463,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\PlayerInfo.cs' could not be found."
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 476,
+                  "startColumn": 13,
+                  "endLine": 476,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\CategoryPanel.cs' could not be found."
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 491,
+                  "startColumn": 14,
+                  "endLine": 491,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\LocalGameScript.cs' could not be found."
+          "ruleId": "S1854",
+          "level": "warning",
+          "message": "Remove this useless assignment to local variable 'response'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 532,
+                  "startColumn": 20,
+                  "endLine": 532,
+                  "endColumn": 77
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\OnlineGameScript.cs' could not be found."
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 504,
+                  "startColumn": 14,
+                  "endLine": 504,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\ScrollViewScript.cs' could not be found."
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 515,
+                  "startColumn": 13,
+                  "endLine": 515,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\PlayerSetting.cs' could not be found."
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 587,
+                  "startColumn": 23,
+                  "endLine": 587,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\OnlinePlayerInfoScript.cs' could not be found."
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 665,
+                  "startColumn": 23,
+                  "endLine": 665,
+                  "endColumn": 27
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\StatsLine.cs' could not be found."
+          "ruleId": "S1481",
+          "level": "warning",
+          "message": "Remove the unused local variable 'status'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 669,
+                  "startColumn": 13,
+                  "endLine": 669,
+                  "endColumn": 19
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\PinchZoom.cs' could not be found."
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 648,
+                  "startColumn": 27,
+                  "endLine": 648,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\StatsScript.cs' could not be found."
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 528,
+                  "startColumn": 13,
+                  "endLine": 528,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\QuestionCard.cs' could not be found."
+          "ruleId": "S1643",
+          "level": "warning",
+          "message": "Use a StringBuilder instead.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 742,
+                  "startColumn": 17,
+                  "endLine": 742,
+                  "endColumn": 91
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\TimerScript.cs' could not be found."
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 557,
+                  "startColumn": 13,
+                  "endLine": 557,
+                  "endColumn": 32
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\Draggable.cs' could not be found."
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 746,
+                  "startColumn": 27,
+                  "endLine": 746,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\InformationPanelScript.cs' could not be found."
+          "ruleId": "S3256",
+          "level": "warning",
+          "message": "Use 'string.IsNullOrEmpty()' instead of comparing to empty string.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 604,
+                  "startColumn": 14,
+                  "endLine": 604,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\InvitePanelScript.cs' could not be found."
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 691,
+                  "startColumn": 27,
+                  "endLine": 691,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\InviteSearchResult.cs' could not be found."
+          "ruleId": "S1117",
+          "level": "warning",
+          "message": "Rename 'conn' which hides the field with the same name.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/Database.cs",
+                "region": {
+                  "startLine": 769,
+                  "startColumn": 27,
+                  "endLine": 769,
+                  "endColumn": 31
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\GameInfoScript.cs' could not be found."
+          "ruleId": "S1481",
+          "level": "warning",
+          "message": "Remove the unused local variable 'returnValue'.",
+          "locations": [
+            {
+              "resultFile": {
+                "uri": "file:///F:/Unity/Projects/Nar%20Kampen/Assets/Scripts/Database/OnlineDatabase.cs",
+                "region": {
+                  "startLine": 720,
+                  "startColumn": 22,
+                  "endLine": 720,
+                  "endColumn": 33
+                }
+              }
+            }
+          ],
+          "properties": {
+            "warningLevel": 1
+          }
         },
         {
-          "ruleId": "CS2001",
-          "level": "error",
-          "message": "Source file 'F:\\Unity\\Projects\\Nar Kampen\\Assets\\Scripts\\NewOnlineGame.cs' could not be found."
+          "ruleId": "S3904",
+          "level": "warning",
+          "message": "Provide an 'AssemblyVersion' attribute for assembly 'Assembly-CSharp'.",
+          "properties": {
+            "warningLevel": 1
+          }
         }
       ],
       "rules": {
-        "CS2001": {
-          "id": "CS2001",
-          "defaultLevel": "error",
+        "CS0414": {
+          "id": "CS0414",
+          "shortDescription": "Field is assigned but its value is never used",
+          "defaultLevel": "warning",
+          "helpUri": "https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0414)",
+          "properties": {
+            "category": "Compiler",
+            "isEnabledByDefault": true,
+            "tags": [
+              "Compiler",
+              "Telemetry"
+            ]
+          }
+        },
+        "CS0649": {
+          "id": "CS0649",
+          "shortDescription": "Field is never assigned to, and will always have its default value",
+          "defaultLevel": "warning",
+          "helpUri": "https://msdn.microsoft.com/query/roslyn.query?appId=roslyn&k=k(CS0649)",
           "properties": {
             "category": "Compiler",
             "isEnabledByDefault": true,
             "tags": [
               "Compiler",
-              "Telemetry",
+              "Telemetry"
+            ]
+          }
+        },
+        "S101": {
+          "id": "S101",
+          "shortDescription": "Types should be named in PascalCase",
+          "fullDescription": "Shared naming conventions allow teams to collaborate efficiently. This rule checks whether or not type names are using PascalCase. To reduce noise, two consecutive upper case characters are allowed unless they form the whole type name. So, MyXClass is compliant, but XC on its own is not.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-101",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S1066": {
+          "id": "S1066",
+          "shortDescription": "Collapsible \"if\" statements should be merged",
+          "fullDescription": "Merging collapsible if statements increases the code’s readability.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1066",
+          "properties": {
+            "category": "Major Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S1075": {
+          "id": "S1075",
+          "shortDescription": "URIs should not be hardcoded",
+          "fullDescription": "Hardcoding a URI makes it difficult to test a program: path literals are not always portable across operating systems, a given absolute path may not exist on a specific test environment, a specified Internet URL may not be available when executing the tests, production environment filesystems usually differ from the development environment, …​etc. For all those reasons, a URI should never be hardcoded. Instead, it should be replaced by customizable parameter.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1075",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope"
+            ]
+          }
+        },
+        "S108": {
+          "id": "S108",
+          "shortDescription": "Nested blocks of code should not be left empty",
+          "fullDescription": "Most of the time a block of code is empty when a piece of code is really missing. So such empty block must be either filled or removed.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-108",
+          "properties": {
+            "category": "Major Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S1104": {
+          "id": "S1104",
+          "shortDescription": "Fields should not have public accessibility",
+          "fullDescription": "Public fields in public classes do not respect the encapsulation principle and has three main disadvantages:",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1104",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope"
+            ]
+          }
+        },
+        "S1116": {
+          "id": "S1116",
+          "shortDescription": "Empty statements should be removed",
+          "fullDescription": "Empty statements, i.e. ;, are usually introduced by mistake, for example because:",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1116",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S1117": {
+          "id": "S1117",
+          "shortDescription": "Local variables should not shadow class fields",
+          "fullDescription": "Overriding or shadowing a variable declared in an outer scope can strongly impact the readability, and therefore the maintainability, of a piece of code. Further, it could lead maintainers to introduce bugs because they think they’re using one variable but are really using another.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1117",
+          "properties": {
+            "category": "Major Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S1125": {
+          "id": "S1125",
+          "shortDescription": "Boolean literals should not be redundant",
+          "fullDescription": "Redundant Boolean literals should be removed from expressions to improve readability.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1125",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S1135": {
+          "id": "S1135",
+          "shortDescription": "Track uses of \"TODO\" tags",
+          "fullDescription": "TODO tags are commonly used to mark places where some more code is required, but which the developer wants to implement later.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1135",
+          "properties": {
+            "category": "Info Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S1168": {
+          "id": "S1168",
+          "shortDescription": "Empty arrays and collections should be returned instead of null",
+          "fullDescription": "Returning null instead of an actual array, collection or map forces callers of the method to explicitly test for nullity, making them more complex and less readable.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1168",
+          "properties": {
+            "category": "Major Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope"
+            ]
+          }
+        },
+        "S1172": {
+          "id": "S1172",
+          "shortDescription": "Unused method parameters should be removed",
+          "fullDescription": "Unused parameters are misleading. Whatever the values passed to such parameters, the behavior will be the same.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1172",
+          "properties": {
+            "category": "Major Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S1186": {
+          "id": "S1186",
+          "shortDescription": "Methods should not be empty",
+          "fullDescription": "There are several reasons for a method not to have a method body:",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1186",
+          "properties": {
+            "category": "Critical Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S125": {
+          "id": "S125",
+          "shortDescription": "Sections of code should not be commented out",
+          "fullDescription": "Programmers should not comment out code as it bloats programs and reduces readability.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-125",
+          "properties": {
+            "category": "Major Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S1450": {
+          "id": "S1450",
+          "shortDescription": "Private fields only used as local variables in methods should become local variables",
+          "fullDescription": "When the value of a private field is always assigned to in a class' methods before being read, then it is not being used to store class information. Therefore, it should become a local variable in the relevant methods to prevent any misunderstanding.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1450",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope"
+            ]
+          }
+        },
+        "S1481": {
+          "id": "S1481",
+          "shortDescription": "Unused local variables should be removed",
+          "fullDescription": "If a local variable is declared but not used, it is dead code and should be removed. Doing so will improve maintainability because developers will not wonder what the variable is used for.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1481",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S1643": {
+          "id": "S1643",
+          "shortDescription": "Strings should not be concatenated using '+' in a loop",
+          "fullDescription": "StringBuilder is more efficient than string concatenation, especially when the operator is repeated over and over as in loops.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1643",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope"
+            ]
+          }
+        },
+        "S1854": {
+          "id": "S1854",
+          "shortDescription": "Unused assignments should be removed",
+          "fullDescription": "A dead store happens when a local variable is assigned a value that is not read by any subsequent instruction. Calculating or retrieving a value only to then overwrite it or throw it away, could indicate a serious error in the code. Even if it’s not an error, it is at best a waste of resources. Therefore all calculated values should be used.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1854",
+          "properties": {
+            "category": "Major Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S1905": {
+          "id": "S1905",
+          "shortDescription": "Redundant casts should not be used",
+          "fullDescription": "Unnecessary casting expressions make the code harder to read and understand.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-1905",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S2223": {
+          "id": "S2223",
+          "shortDescription": "Non-constant static fields should not be visible",
+          "fullDescription": "A static field that is neither constant nor read-only is not thread-safe. Correctly accessing these fields from different threads needs synchronization with locks. Improper synchronization may lead to unexpected results, thus publicly visible static fields are best suited for storing non-changing data shared by many consumers. To enforce this intent, these fields should be marked readonly or converted to constants.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2223",
+          "properties": {
+            "category": "Critical Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope"
+            ]
+          }
+        },
+        "S2259": {
+          "id": "S2259",
+          "shortDescription": "Null pointers should not be dereferenced",
+          "fullDescription": "A reference to null should never be dereferenced/accessed. Doing so will cause a NullReferenceException to be thrown. At best, such an exception will cause abrupt program termination. At worst, it could expose debugging information that would be useful to an attacker, or it could allow an attacker to bypass security measures.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2259",
+          "properties": {
+            "category": "Major Bug",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope"
+            ]
+          }
+        },
+        "S2292": {
+          "id": "S2292",
+          "shortDescription": "Trivial properties should be auto-implemented",
+          "fullDescription": "Trivial properties, which include no logic but setting and getting a backing field should be converted to auto-implemented properties, yielding cleaner and more readable code.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2292",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S2589": {
+          "id": "S2589",
+          "shortDescription": "Boolean expressions should not be gratuitous",
+          "fullDescription": "If a boolean expression doesn’t change the evaluation of the condition, then it is entirely unnecessary, and can be removed. If it is gratuitous because it does not match the programmer’s intent, then it’s a bug and the expression should be fixed.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2589",
+          "properties": {
+            "category": "Major Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S2696": {
+          "id": "S2696",
+          "shortDescription": "Instance members should not write to \"static\" fields",
+          "fullDescription": "Correctly updating a static field from a non-static method is tricky to get right and could easily lead to bugs if there are multiple class instances and/or multiple threads in play.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2696",
+          "properties": {
+            "category": "Critical Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope"
+            ]
+          }
+        },
+        "S2933": {
+          "id": "S2933",
+          "shortDescription": "Fields that are only assigned in the constructor should be \"readonly\"",
+          "fullDescription": "readonly fields can only be assigned in a class constructor. If a class has a field that’s not marked readonly but is only set in the constructor, it could cause confusion about the field’s intended use. To avoid confusion, such fields should be marked readonly to make their intended use explicit, and to prevent future maintainers from inadvertently changing their use.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2933",
+          "properties": {
+            "category": "Major Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S2971": {
+          "id": "S2971",
+          "shortDescription": "\"IEnumerable\" LINQs should be simplified",
+          "fullDescription": "In the interests of readability, code that can be simplified should be simplified. To that end, there are several ways IEnumerable language integrated queries (LINQ) can be simplified",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-2971",
+          "properties": {
+            "category": "Major Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S3256": {
+          "id": "S3256",
+          "shortDescription": "\"string.IsNullOrEmpty\" should be used",
+          "fullDescription": "Using string.Equals to determine if a string is empty is significantly slower than using string.IsNullOrEmpty() or checking for string.Length == 0. string.IsNullOrEmpty() is both clear and concise, and therefore preferred to laborious, error-prone, manual null- and emptiness-checking.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-3256",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope"
+            ]
+          }
+        },
+        "S3267": {
+          "id": "S3267",
+          "shortDescription": "Loops should be simplified with \"LINQ\" expressions",
+          "fullDescription": "When a loop is filtering, selecting or aggregating, those functions can be handled with a clearer, more concise LINQ expression instead.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-3267",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope"
+            ]
+          }
+        },
+        "S3400": {
+          "id": "S3400",
+          "shortDescription": "Methods should not return constants",
+          "fullDescription": "There’s no point in forcing the overhead of a method call for a method that always returns the same constant value. Even worse, the fact that a method call must be made will likely mislead developers who call the method thinking that something more is done. Declare a constant instead.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-3400",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope"
+            ]
+          }
+        },
+        "S3776": {
+          "id": "S3776",
+          "shortDescription": "Cognitive Complexity of methods should not be too high",
+          "fullDescription": "Cognitive Complexity is a measure of how hard the control flow of a method is to understand. Methods with high Cognitive Complexity will be difficult to maintain.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-3776",
+          "properties": {
+            "category": "Critical Code Smell",
+            "isEnabledByDefault": false,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S3903": {
+          "id": "S3903",
+          "shortDescription": "Types should be defined in named namespaces",
+          "fullDescription": "Types are declared in namespaces in order to prevent name collisions and as a way to organize them into the object hierarchy. Types that are defined outside any named namespace are in a global namespace that cannot be referenced in code.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-3903",
+          "properties": {
+            "category": "Major Bug",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S3904": {
+          "id": "S3904",
+          "shortDescription": "Assemblies should have version information",
+          "fullDescription": "If no AssemblyVersionAttribute is provided, the same default version will be used for every build. Since the version number is used by The .NET Framework to uniquely identify an assembly this can lead to broken dependencies.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-3904",
+          "properties": {
+            "category": "Critical Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope"
+            ]
+          }
+        },
+        "S4136": {
+          "id": "S4136",
+          "shortDescription": "Method overloads should be grouped together",
+          "fullDescription": "For clarity, all overloads of the same method should be grouped together. That lets both users and maintainers quickly understand all the current available options.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-4136",
+          "properties": {
+            "category": "Minor Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S4144": {
+          "id": "S4144",
+          "shortDescription": "Methods should not have identical implementations",
+          "fullDescription": "When two methods have the same implementation, either it was a mistake - something else was intended - or the duplication was intentional, but may be confusing to maintainers. In the latter case, one implementation should invoke the other.",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-4144",
+          "properties": {
+            "category": "Major Code Smell",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "TestSourceScope"
+            ]
+          }
+        },
+        "S4790": {
+          "id": "S4790",
+          "shortDescription": "Using weak hashing algorithms is security-sensitive",
+          "fullDescription": "Cryptographic hash algorithms such as MD2, MD4, MD5, MD6, HAVAL-128, HMAC-MD5, DSA (which uses SHA-1), RIPEMD, RIPEMD-128, RIPEMD-160, HMACRIPEMD160 and SHA-1 are no longer considered secure, because it is possible to have collisions (little computational effort is enough to find two or more different inputs that produce the same hash).",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-4790",
+          "properties": {
+            "category": "Critical Security Hotspot",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
+              "NotConfigurable"
+            ]
+          }
+        },
+        "S5332": {
+          "id": "S5332",
+          "shortDescription": "Using clear-text protocols is security-sensitive",
+          "fullDescription": "Clear-text protocols such as ftp, telnet or non-secure http lack encryption of transported data, as well as the capability to build an authenticated connection. It means that an attacker able to sniff traffic from the network can read, modify or corrupt the transported content. These protocols are not secure as they expose applications to an extensive range of risks:",
+          "defaultLevel": "warning",
+          "helpUri": "https://rules.sonarsource.com/csharp/RSPEC-5332",
+          "properties": {
+            "category": "Critical Security Hotspot",
+            "isEnabledByDefault": true,
+            "tags": [
+              "C#",
+              "SonarWay",
+              "MainSourceScope",
               "NotConfigurable"
             ]
           }

+ 93 - 1
.vscode/launch.json

@@ -7,7 +7,99 @@
         {
             "name": "Unity Editor",
             "type": "unity",
-            "path": "/d:/Programming/Unity/Projects/Nar Kampen/Library/EditorInstance.json",
+            "path": "/F:/Unity/Projects/NarKampen/Library/EditorInstance.json",
+            "request": "launch"
+        },
+        {
+            "name": "Windows Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "OSX Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "Linux Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "iOS Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "Android Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "Xbox One Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "PS4 Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "SwitchPlayer",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "Unity Editor",
+            "type": "unity",
+            "path": "/F:/Unity/Projects/NarKampen/Library/EditorInstance.json",
+            "request": "launch"
+        },
+        {
+            "name": "Windows Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "OSX Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "Linux Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "iOS Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "Android Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "Xbox One Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "PS4 Player",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "SwitchPlayer",
+            "type": "unity",
+            "request": "launch"
+        },
+        {
+            "name": "Unity Editor",
+            "type": "unity",
+            "path": "/F:/Unity/Projects/NarKampen/Library/EditorInstance.json",
             "request": "launch"
         },
         {

+ 58 - 74
.vscode/settings.json

@@ -1,78 +1,62 @@
 {
-    "files.exclude":
-    {
-        "**/.DS_Store":true,
-        "**/.git":true,
-        "**/.gitignore":true,
-        "**/.gitmodules":true,
-        "**/*.booproj":true,
-        "**/*.pidb":true,
-        "**/*.suo":true,
-        "**/*.user":true,
-        "**/*.userprefs":true,
-        "**/*.unityproj":true,
-        "**/*.dll":true,
-        "**/*.exe":true,
-        "**/*.pdf":true,
-        "**/*.mid":true,
-        "**/*.midi":true,
-        "**/*.wav":true,
-        "**/*.gif":true,
-        "**/*.ico":true,
-        "**/*.jpg":true,
-        "**/*.jpeg":true,
-        "**/*.png":true,
-        "**/*.psd":true,
-        "**/*.tga":true,
-        "**/*.tif":true,
-        "**/*.tiff":true,
-        "**/*.3ds":true,
-        "**/*.3DS":true,
-        "**/*.fbx":true,
-        "**/*.FBX":true,
-        "**/*.lxo":true,
-        "**/*.LXO":true,
-        "**/*.ma":true,
-        "**/*.MA":true,
-        "**/*.obj":true,
-        "**/*.OBJ":true,
-        "**/*.asset":true,
-        "**/*.cubemap":true,
-        "**/*.flare":true,
-        "**/*.mat":true,
-        "**/*.meta":true,
-        "**/*.prefab":true,
-        "**/*.unity":true,
-        "build/":true,
-        "Build/":true,
-        "Library/":true,
-        "library/":true,
-        "obj/":true,
-        "Obj/":true,
-        "ProjectSettings/":true,
-        "temp/":true,
-        "Temp/":true
-    },
-    "sonar-dotnet-vscode.connection.project": {
-        "projectKey": "narKampen"
-    },
-    "sonarlint.analyzerProperties": {
+  "files.exclude": {
+    "**/.DS_Store": true,
+    "**/.git": true,
+    "**/.gitignore": true,
+    "**/.gitmodules": true,
+    "**/*.booproj": true,
+    "**/*.pidb": true,
+    "**/*.suo": true,
+    "**/*.user": true,
+    "**/*.userprefs": true,
+    "**/*.unityproj": true,
+    "**/*.dll": true,
+    "**/*.exe": true,
+    "**/*.pdf": true,
+    "**/*.mid": true,
+    "**/*.midi": true,
+    "**/*.wav": true,
+    "**/*.gif": true,
+    "**/*.ico": true,
+    "**/*.jpg": true,
+    "**/*.jpeg": true,
+    "**/*.png": true,
+    "**/*.psd": true,
+    "**/*.tga": true,
+    "**/*.tif": true,
+    "**/*.tiff": true,
+    "**/*.3ds": true,
+    "**/*.3DS": true,
+    "**/*.fbx": true,
+    "**/*.FBX": true,
+    "**/*.lxo": true,
+    "**/*.LXO": true,
+    "**/*.ma": true,
+    "**/*.MA": true,
+    "**/*.obj": true,
+    "**/*.OBJ": true,
+    "**/*.asset": true,
+    "**/*.cubemap": true,
+    "**/*.flare": true,
+    "**/*.mat": true,
+    "**/*.meta": true,
+    "**/*.prefab": true,
+    "**/*.unity": true,
+    "build/": true,
+    "Build/": true,
+    "Library/": true,
+    "library/": true,
+    "obj/": true,
+    "Obj/": true,
+    "ProjectSettings/": true,
+    "temp/": true,
+    "Temp/": true
+  },
 
-    },
+  "sonar-dotnet-vscode.connection.project": {
+      "projectKey": "narKampen"
+  },
 
-    "sonarlint.connectedMode.project": {
-      "connectionId": "narKampen-CON-ID",
-          "projectKey": "Nar Kampen"
-      },
+  "sonarlint.testFilePattern": "**/test/**",
 
-      "sonarlint.ls.javaHome": "C:\\Program Files\\Java\\jdk-14.0.2",
-      "sonarqube-rules-synchroniser.Sonarqube-projectkey": "narKampen",
-      "sonarqube-rules-synchroniser.Sonarqube-token": "6e98aad9ad84f310e7540e7c736e4307a39e5b21",
-      "sonarqube-rules-synchroniser.Sonarqube-url": "nordh.xyz:9088",
-      "omnisharp.analyzeOpenDocumentsOnly": false,
-      "omnisharp.enableRoslynAnalyzers": false,
-
-    "sonarlint.connectedMode.connections.sonarqube": [
-        { "connectionId": "narKampen", "serverUrl": "http://nordh.xyz:9088", "token": "6e98aad9ad84f310e7540e7c736e4307a39e5b21" }
-    ]
-}
+}

+ 15 - 15
Assets/AnswerLineInfoScript.cs

@@ -7,15 +7,15 @@ using UnityEngine.UI;
 
 public class AnswerLineInfoScript : MonoBehaviour {
 
-    [SerializeField] readonly Button nextPlayerButton;
-    [SerializeField] readonly Button prevPlayerButton;
-    [SerializeField] readonly Text lockedQuestionsText;
-    [SerializeField] readonly Text unlockedQuestionsText;
-    [SerializeField] readonly GameObject scrollView;
-    [SerializeField] readonly GameObject answerLine;
-    [SerializeField] readonly GameObject newQuestion;
-
-    [SerializeField] readonly GameObject gameManager;
+    [SerializeField] Button nextPlayerButton;
+    [SerializeField] Button prevPlayerButton;
+    [SerializeField] Text lockedQuestionsText;
+    [SerializeField] Text unlockedQuestionsText;
+    [SerializeField] GameObject scrollView;
+    [SerializeField] GameObject answerLine;
+    [SerializeField] GameObject newQuestion;
+
+    [SerializeField] GameObject gameManager;
     private List<KeyValuePair<string, int>> players;
     private string currentPlayerShown;
     private String signedInName;
@@ -169,10 +169,10 @@ public class AnswerLineInfoScript : MonoBehaviour {
             foreach (AnswerLineQuestionCard aq in signedInPlayerQuestions) {
                 questions.Add(new NewQuestionData(aq.GetAnswerText(), aq.GetQuestionText(), aq.CategoryText, aq.CategoryId, aq.QuestionId, aq.CategoryColor, aq.QuestionSafe));
             }
-            setQuestionFrosting(questions);
+            SetQuestionFrosting(questions);
         } else {
             List<NewQuestionData> showPlayerQuestions = Database.Instance.GetPlayerQuestions(gameManagerScript.GameId, currentPlayerShown, gameManagerScript.GameMode);
-            setQuestionFrosting(showPlayerQuestions);
+            SetQuestionFrosting(showPlayerQuestions);
         }
         UpdateButtonsText();
     }
@@ -190,15 +190,15 @@ public class AnswerLineInfoScript : MonoBehaviour {
             foreach (AnswerLineQuestionCard aq in signedInPlayerQuestions) {
                 questions.Add(new NewQuestionData(aq.GetAnswerText(), aq.GetQuestionText(), aq.CategoryText, aq.CategoryId, aq.QuestionId, aq.CategoryColor, aq.QuestionSafe));
             }
-            setQuestionFrosting(questions);
+            SetQuestionFrosting(questions);
         } else {
             List<NewQuestionData> showPlayerQuestions = Database.Instance.GetPlayerQuestions(gameManagerScript.GameId, currentPlayerShown, gameManagerScript.GameMode);
-            setQuestionFrosting(showPlayerQuestions);
+            SetQuestionFrosting(showPlayerQuestions);
         }
         UpdateButtonsText();
     }
 
-    private void setQuestionFrosting(List<NewQuestionData> questions) {
+    private void SetQuestionFrosting(List<NewQuestionData> questions) {
         ScrollViewScript scrollViewScript = scrollView.GetComponent<ScrollViewScript>();
         scrollViewScript.RemoveEverythingFromAnswerline();
         scrollViewScript.SetQuestionsInAnswerLine(questions);
@@ -217,7 +217,7 @@ public class AnswerLineInfoScript : MonoBehaviour {
         }
     }
 
-    public String getCurrentPlayerShown() {
+    public String GetCurrentPlayerShown() {
         return currentPlayerShown;
     }
 }

+ 11 - 13
Assets/BasicDialog.cs

@@ -3,43 +3,41 @@ using System.Collections.Generic;
 using UnityEngine;
 using UnityEngine.UI;
 
-public class BasicDialog : MonoBehaviour
-{
+public class BasicDialog : MonoBehaviour {
 
     public Button acceptButton;
     public Button declineButton;
     public Text titleText;
     public Text messageText;
     // Start is called before the first frame update
-    void Start()
-    {
-        acceptButton.onClick.AddListener(acceptAction);
-        declineButton.onClick.AddListener(declineAction);
+    void Start() {
+        acceptButton.onClick.AddListener(AcceptAction);
+        declineButton.onClick.AddListener(DeclineAction);
     }
 
-    public BasicDialog setTitleText(string title){
+    public BasicDialog SetTitleText(string title) {
         titleText.text = title;
         return this;
     }
 
-    public BasicDialog setMessageText(string message) {
+    public BasicDialog SetMessageText(string message) {
         messageText.text = message;
         return this;
     }
 
-    public void setAcceptButtonText(string buttonText) {
+    public void SetAcceptButtonText(string buttonText) {
         acceptButton.GetComponent<Text>().text = buttonText;
     }
 
-    public void setDeclineButtonText(string buttonText) {
+    public void SetDeclineButtonText(string buttonText) {
         declineButton.GetComponent<Text>().text = buttonText;
     }
 
-    void acceptAction() {
-        
+    void AcceptAction() {
+
     }
 
-    void declineAction() {
+    void DeclineAction() {
 
     }
 }

+ 4 - 4
Assets/CategorySelection.cs

@@ -6,8 +6,8 @@ using UnityEngine.UI;
 
 public class CategorySelection : MonoBehaviour {
 
-    [SerializeField] readonly Text CategoryNameText;
-    [SerializeField] readonly Toggle selectionToggle;
+    [SerializeField] Text CategoryNameText;
+    [SerializeField] Toggle selectionToggle;
     private int questionCount;
 
     private Boolean selected;
@@ -37,12 +37,12 @@ public class CategorySelection : MonoBehaviour {
         selectionToggle.SetIsOnWithoutNotify(selected);
     }
 
-    public string getCategoryName() {
+    public string GetCategoryName() {
         string catText = CategoryNameText.text;
         return catText.Substring(0, catText.IndexOf('(') - 1);
     }
 
-    public bool isSelected() {
+    public bool IsSelected() {
         return selectionToggle.isOn;
     }
 }

+ 33 - 50
Assets/NewDropZoneScript.cs

@@ -1,14 +1,13 @@
 using System;
 using System.Collections;
 using System.Collections.Generic;
+using System.Linq;
 using UnityEngine;
 using UnityEngine.Events;
 using UnityEngine.EventSystems;
 using UnityEngine.UI;
-using System.Linq;
 
-public class NewDropZoneScript : MonoBehaviour, IDropHandler, IPointerEnterHandler, IPointerExitHandler
-{
+public class NewDropZoneScript : MonoBehaviour, IDropHandler, IPointerEnterHandler, IPointerExitHandler {
 
     public bool RightmostSpacer;
     public bool LeftmostSpacer;
@@ -28,13 +27,11 @@ public class NewDropZoneScript : MonoBehaviour, IDropHandler, IPointerEnterHandl
         newQuestionRect = GameObject.Find("NewQuestion").GetComponent<RectTransform>();
         preferedWidth = newQuestionRect.rect.width;
     }
-    public void OnDrop(PointerEventData eventData)
-    {
-        if (eventData != null && draggedQuestion != null)
-        {
+    public void OnDrop(PointerEventData eventData) {
+        if (eventData != null && draggedQuestion != null) {
             questionData = draggedQuestion.GetComponentInParent<NewQuestionDragController>().NewQuestion.transform.parent.GetComponentInParent<NewQuestionsPanel>()
                         .QuestionData;
-            
+
             GenericDialog confirmDialog = GenericDialog.Instance();
 
             string message = string.Format(LocalizationManager.Instance.GetText("DROPPED_QUESTION_DIALOG_MESSAGE_TEXT"),
@@ -43,14 +40,13 @@ public class NewDropZoneScript : MonoBehaviour, IDropHandler, IPointerEnterHandl
 
             confirmDialog.SetTitle(LocalizationManager.Instance.GetText("ARE_YOU_SURE_TITLE"));
             confirmDialog.SetMessage(message);
-            confirmDialog.SetOnAccept(LocalizationManager.Instance.GetText("YES"), () => { 
-                YesFunction(); 
+            confirmDialog.SetOnAccept(LocalizationManager.Instance.GetText("YES"), () => {
+                YesFunction();
                 confirmDialog.Hide();
                 CheckAnswerFunction(); // Generera bara ny fråga här?? Vid rätt??
-                });
-            confirmDialog.SetOnDecline(LocalizationManager.Instance.GetText("NO"), () =>
-            {
-                NewQuestionDragController.setAnswerText("???? - ????");
+            });
+            confirmDialog.SetOnDecline(LocalizationManager.Instance.GetText("NO"), () => {
+                NewQuestionDragController.SetAnswerText("???? - ????");
                 confirmDialog.Hide();
             });
             confirmDialog.Show();
@@ -71,8 +67,7 @@ public class NewDropZoneScript : MonoBehaviour, IDropHandler, IPointerEnterHandl
         }
     }
 
-    private void CheckAnswerFunction()
-    {
+    private void CheckAnswerFunction() {
         if (answeredCorrectly) {
             GameObject go = Instantiate(AnswerLineQuestionCardPrefab, Vector3.zero, Quaternion.identity);
 
@@ -87,22 +82,17 @@ public class NewDropZoneScript : MonoBehaviour, IDropHandler, IPointerEnterHandl
             newAnsweredQuestion.SetQuestionUnSafe();
             newAnsweredQuestion.transform.SetParent(AnswerLine.transform);
             newAnsweredQuestion.transform.SetSiblingIndex(newAnswerPos);
-            newAnsweredQuestion.transform.localScale = new Vector3(1,1,1);
+            newAnsweredQuestion.transform.localScale = new Vector3(1, 1, 1);
             newAnsweredQuestion.GetComponent<LayoutElement>().preferredHeight = newQuestionRect.rect.height;
             newAnsweredQuestion.GetComponent<LayoutElement>().preferredWidth = newQuestionRect.rect.width;
 
-            if (LeftmostSpacer)
-            {
+            if (LeftmostSpacer) {
                 CreateNewSpacer(AnswerLine, newAnswerPos + 2);
                 CreateLeftSpacer(AnswerLine, newQuestionRect.rect.width);
-            }
-            else if (RightmostSpacer)
-            {
+            } else if (RightmostSpacer) {
                 CreateNewSpacer(AnswerLine, newAnswerPos);
                 CreateRightSpacer(AnswerLine, newQuestionRect.rect.width);
-            }
-            else
-            {
+            } else {
                 CreateNewSpacer(AnswerLine, newAnswerPos);
                 CreateNewSpacer(AnswerLine, newAnswerPos + 2);
             }
@@ -130,9 +120,8 @@ public class NewDropZoneScript : MonoBehaviour, IDropHandler, IPointerEnterHandl
             dialog.Show();
         }
     }
-    
-    private void CreateLeftSpacer(GameObject AnswerLine, float width)
-    {
+
+    private void CreateLeftSpacer(GameObject AnswerLine, float width) {
         GameObject newSpacerLeft = Instantiate(gameObject);
         if (width < 50f) {
             newSpacerLeft.GetComponent<LayoutElement>().preferredWidth = 50f;
@@ -143,12 +132,11 @@ public class NewDropZoneScript : MonoBehaviour, IDropHandler, IPointerEnterHandl
         newSpacerLeft.GetComponent<NewDropZoneScript>().LeftmostSpacer = true;
         newSpacerLeft.transform.SetParent(AnswerLine.transform);
         newSpacerLeft.transform.SetAsFirstSibling();
-        newSpacerLeft.transform.localScale = new Vector3(1,1,1);
+        newSpacerLeft.transform.localScale = new Vector3(1, 1, 1);
     }
 
-    private void CreateRightSpacer(GameObject AnswerLine, float width)
-    {
-        GameObject newSpacerRight = Instantiate(gameObject);     
+    private void CreateRightSpacer(GameObject AnswerLine, float width) {
+        GameObject newSpacerRight = Instantiate(gameObject);
         if (width < 50f) {
             newSpacerRight.GetComponent<LayoutElement>().preferredWidth = 50f;
         } else {
@@ -158,12 +146,11 @@ public class NewDropZoneScript : MonoBehaviour, IDropHandler, IPointerEnterHandl
         newSpacerRight.GetComponent<NewDropZoneScript>().RightmostSpacer = true;
         newSpacerRight.transform.SetParent(AnswerLine.transform);
         newSpacerRight.transform.SetAsLastSibling();
-        newSpacerRight.transform.localScale = new Vector3(1,1,1);
+        newSpacerRight.transform.localScale = new Vector3(1, 1, 1);
     }
 
 
-    private void CreateNewSpacer(GameObject AnswerLine, int newAnswerPos)
-    {
+    private void CreateNewSpacer(GameObject AnswerLine, int newAnswerPos) {
         GameObject newSpacer = Instantiate(gameObject);
         newSpacer.GetComponent<NewDropZoneScript>().LeftmostSpacer = false;
         newSpacer.GetComponent<NewDropZoneScript>().RightmostSpacer = false;
@@ -171,49 +158,45 @@ public class NewDropZoneScript : MonoBehaviour, IDropHandler, IPointerEnterHandl
         newSpacer.name = "DropZone";
         newSpacer.transform.SetParent(AnswerLine.transform);
         newSpacer.transform.SetSiblingIndex(newAnswerPos);
-        newSpacer.transform.localScale = new Vector3(1,1,1);
+        newSpacer.transform.localScale = new Vector3(1, 1, 1);
     }
 
-    public void OnPointerEnter(PointerEventData eventData)
-    {
+    public void OnPointerEnter(PointerEventData eventData) {
         draggedQuestion = NewQuestionDragController.itemBeeingDragged;
         if (draggedQuestion != null) {
             // Expandera aktuell drop yta
             LayoutElement le = transform.GetComponent<LayoutElement>();
-            le.preferredWidth = le.preferredWidth + preferedWidth;
+            le.preferredWidth += preferedWidth;
 
             if (LeftmostSpacer) {
                 rightSibling = transform.parent.GetChild(1).GetComponent<AnswerLineQuestionCard>();
-                NewQuestionDragController.setAnswerText(LocalizationManager.Instance.GetText("BEFORE") + rightSibling.answerText.text);
+                NewQuestionDragController.SetAnswerText(LocalizationManager.Instance.GetText("BEFORE") + rightSibling.answerText.text);
                 leftSibling = null;
             } else if (RightmostSpacer) {
                 leftSibling = transform.parent.GetChild(transform.GetSiblingIndex() - 1).GetComponent<AnswerLineQuestionCard>();
-                NewQuestionDragController.setAnswerText(LocalizationManager.Instance.GetText("AFTER") + leftSibling.answerText.text);
+                NewQuestionDragController.SetAnswerText(LocalizationManager.Instance.GetText("AFTER") + leftSibling.answerText.text);
                 rightSibling = null;
             } else {
                 leftSibling = transform.parent.GetChild(transform.GetSiblingIndex() - 1).GetComponent<AnswerLineQuestionCard>();
                 rightSibling = transform.parent.GetChild(transform.GetSiblingIndex() + 1).GetComponent<AnswerLineQuestionCard>();
-                NewQuestionDragController.setAnswerText(leftSibling.answerText.text + " - " + rightSibling.answerText.text);
+                NewQuestionDragController.SetAnswerText(leftSibling.answerText.text + " - " + rightSibling.answerText.text);
             }
         }
     }
 
-    public void OnPointerExit(PointerEventData eventData)
-    {
+    public void OnPointerExit(PointerEventData eventData) {
         if (draggedQuestion != null) {
-            NewQuestionDragController.setAnswerText("???? - ????");
+            NewQuestionDragController.SetAnswerText("???? - ????");
             LayoutElement le = transform.GetComponent<LayoutElement>();
-            le.preferredWidth = le.preferredWidth - preferedWidth;
+            le.preferredWidth -= preferedWidth;
         }
     }
 
     void YesFunction() {
-
         String correctYear = questionData.Answer;
-        String answeredYear = draggedQuestion.GetComponent<NewQuestionDragController>().AnswerText.text;
 
-        String yearBefore = leftSibling != null?leftSibling.answerText.text:"-99999";
-        String yearAfter = rightSibling != null?rightSibling.answerText.text:"99999";
+        String yearBefore = leftSibling != null ? leftSibling.answerText.text : "-99999";
+        String yearAfter = rightSibling != null ? rightSibling.answerText.text : "99999";
 
         Int32.TryParse(yearBefore, out int answerBeforeInt);
         Int32.TryParse(yearAfter, out int answerAfterInt);

+ 10 - 14
Assets/NewQuestionDragController.cs

@@ -1,12 +1,11 @@
-using System.Collections;
+using System;
+using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
 using UnityEngine.EventSystems;
 using UnityEngine.UI;
-using System;
 
-public class NewQuestionDragController : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler
-{
+public class NewQuestionDragController : MonoBehaviour, IBeginDragHandler, IDragHandler, IEndDragHandler {
 
     public static GameObject itemBeeingDragged;
     public GameObject NewQuestion;
@@ -19,27 +18,24 @@ public class NewQuestionDragController : MonoBehaviour, IBeginDragHandler, IDrag
     private void Start() {
         AnswerText = GameObject.FindGameObjectWithTag("AnswerText").GetComponent<Text>();
     }
-    public void OnDrag(PointerEventData eventData)
-    {
+    public void OnDrag(PointerEventData eventData) {
         NewQuestion.gameObject.transform.position = eventData.position;
     }
 
-    public void OnEndDrag(PointerEventData eventData)
-    {
+    public void OnEndDrag(PointerEventData eventData) {
         itemBeeingDragged = null;
         GetComponent<CanvasGroup>().blocksRaycasts = true;
         // Kontrollera vart man släpper kortet och skicka upp fråga om position ok
         if (NewQuestionStartParent != transform.parent) {
             NewQuestion.gameObject.transform.position = startPosition;
         }
-        if (getAnswerText().text != "???? - ????") { // Om man svarar nej måste man återställa answerText
-        answerText.text = "???? - ????";
+        if (GetAnswerText().text != "???? - ????") { // Om man svarar nej måste man återställa answerText
+            answerText.text = "???? - ????";
             // transform.parent.GetComponent<NewQuestionCardController>().GenerateNewQuestion();
         }
     }
 
-    void IBeginDragHandler.OnBeginDrag(PointerEventData eventData)
-    {
+    void IBeginDragHandler.OnBeginDrag(PointerEventData eventData) {
         itemBeeingDragged = gameObject;
         GetComponent<CanvasGroup>().blocksRaycasts = false;
         startPosition = NewQuestion.gameObject.transform.position;
@@ -47,10 +43,10 @@ public class NewQuestionDragController : MonoBehaviour, IBeginDragHandler, IDrag
         // Save current Position on object (to return to)
     }
 
-    public static Text getAnswerText() {
+    public static Text GetAnswerText() {
         return answerText;
     }
-    public static void setAnswerText(string value) {
+    public static void SetAnswerText(string value) {
         if (NewQuestionDragController.itemBeeingDragged != null) {
             answerText.text = value;
         }

+ 30 - 3
Assets/Prefab/LocalGame.prefab

@@ -28,12 +28,13 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children: []
   m_Father: {fileID: 141134251706582632}
   m_RootOrder: 0
   m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
   m_AnchorMin: {x: 0, y: 0}
-  m_AnchorMax: {x: 1, y: 1}
+  m_AnchorMax: {x: 0, y: 0}
   m_AnchoredPosition: {x: 0, y: 0}
   m_SizeDelta: {x: 20, y: 20}
   m_Pivot: {x: 0.5, y: 0.5}
@@ -104,6 +105,7 @@ RectTransform:
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 5023127888712049900}
   - {fileID: 5023127887985366416}
@@ -207,6 +209,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children: []
   m_Father: {fileID: 74425638051798129}
   m_RootOrder: 0
@@ -282,6 +285,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children: []
   m_Father: {fileID: 836720572515074108}
   m_RootOrder: 0
@@ -360,6 +364,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 5023127886976451395}
   - {fileID: 4844586739678004743}
@@ -465,6 +470,7 @@ RectTransform:
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 5069358253752073381}
   m_Father: {fileID: 2538448334888303702}
@@ -527,6 +533,7 @@ MonoBehaviour:
   m_EditorClassIdentifier: 
   m_Navigation:
     m_Mode: 3
+    m_WrapAround: 0
     m_SelectOnUp: {fileID: 0}
     m_SelectOnDown: {fileID: 0}
     m_SelectOnLeft: {fileID: 0}
@@ -606,6 +613,7 @@ RectTransform:
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 4204670196405447269}
   m_Father: {fileID: 2538448334888303702}
@@ -668,6 +676,7 @@ MonoBehaviour:
   m_EditorClassIdentifier: 
   m_Navigation:
     m_Mode: 3
+    m_WrapAround: 0
     m_SelectOnUp: {fileID: 0}
     m_SelectOnDown: {fileID: 0}
     m_SelectOnLeft: {fileID: 0}
@@ -747,6 +756,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 836720572515074108}
   - {fileID: 2648654414683390979}
@@ -875,6 +885,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 5023127888765457907}
   - {fileID: 5023127887786194206}
@@ -979,6 +990,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 412217315070399672}
   - {fileID: 4093618177908526624}
@@ -1085,6 +1097,7 @@ RectTransform:
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children: []
   m_Father: {fileID: 4093618177908526624}
   m_RootOrder: 0
@@ -1200,6 +1213,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 5023127886737789046}
   - {fileID: 811018145157722118}
@@ -1283,7 +1297,7 @@ MonoBehaviour:
   m_Name: 
   m_EditorClassIdentifier: 
   content: {fileID: 5163841379501265449}
-  playerInfoPrefab: {fileID: 1668827557623854269, guid: 60b5f76dad1e30a408a805de4745bec4,
+  playerInfoPrefab: {fileID: 1668827557623854269, guid: 8bf9e77b7abdde7498f76c415ff89992,
     type: 3}
   startButton: {fileID: 3843912538627643036}
   deleteButton: {fileID: 7789072483948193122}
@@ -1344,6 +1358,7 @@ RectTransform:
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children: []
   m_Father: {fileID: 412217315070399672}
   m_RootOrder: 1
@@ -1423,6 +1438,7 @@ RectTransform:
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children: []
   m_Father: {fileID: 3901769886080598385}
   m_RootOrder: 1
@@ -1504,6 +1520,7 @@ RectTransform:
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children: []
   m_Father: {fileID: 3901769886080598385}
   m_RootOrder: 0
@@ -1618,6 +1635,7 @@ RectTransform:
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children: []
   m_Father: {fileID: 412217315070399672}
   m_RootOrder: 0
@@ -1732,6 +1750,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 2538448334888303702}
   m_Father: {fileID: 5023127887778350163}
@@ -1852,6 +1871,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 94255188951414047}
   m_Father: {fileID: 2648654414683390979}
@@ -1891,6 +1911,7 @@ RectTransform:
   m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 74425638051798129}
   - {fileID: 4000913085181046185}
@@ -1994,6 +2015,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children: []
   m_Father: {fileID: 4093618177908526624}
   m_RootOrder: 1
@@ -2063,7 +2085,7 @@ GameObject:
   m_Icon: {fileID: 0}
   m_NavMeshLayer: 0
   m_StaticEditorFlags: 0
-  m_IsActive: 0
+  m_IsActive: 1
 --- !u!224 &2648654414683390979
 RectTransform:
   m_ObjectHideFlags: 0
@@ -2074,6 +2096,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 141134251706582632}
   m_Father: {fileID: 2576524311624294734}
@@ -2136,6 +2159,7 @@ MonoBehaviour:
   m_EditorClassIdentifier: 
   m_Navigation:
     m_Mode: 0
+    m_WrapAround: 0
     m_SelectOnUp: {fileID: 0}
     m_SelectOnDown: {fileID: 0}
     m_SelectOnLeft: {fileID: 0}
@@ -2199,6 +2223,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 5163841379501265449}
   m_Father: {fileID: 2576524311624294734}
@@ -2290,6 +2315,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children:
   - {fileID: 2576524311624294734}
   m_Father: {fileID: 5023127887778350163}
@@ -2404,6 +2430,7 @@ RectTransform:
   m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
   m_LocalPosition: {x: 0, y: 0, z: 0}
   m_LocalScale: {x: 1, y: 1, z: 1}
+  m_ConstrainProportionsScale: 0
   m_Children: []
   m_Father: {fileID: 4000913085181046185}
   m_RootOrder: 0

+ 0 - 494
Assets/Prefab/PlayerInfo.prefab

@@ -1,494 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!1 &1668827557623854269
-GameObject:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  serializedVersion: 6
-  m_Component:
-  - component: {fileID: 8182258568001242865}
-  - component: {fileID: 8355837596623320845}
-  - component: {fileID: 3980037200411588144}
-  - component: {fileID: 487875939721856792}
-  - component: {fileID: 7062300083992947690}
-  - component: {fileID: 4462619395977117909}
-  m_Layer: 5
-  m_Name: PlayerInfo
-  m_TagString: Untagged
-  m_Icon: {fileID: 0}
-  m_NavMeshLayer: 0
-  m_StaticEditorFlags: 0
-  m_IsActive: 1
---- !u!224 &8182258568001242865
-RectTransform:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 1668827557623854269}
-  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
-  m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
-  m_Children:
-  - {fileID: 2113870004414737959}
-  - {fileID: 2265581614379094288}
-  m_Father: {fileID: 0}
-  m_RootOrder: 0
-  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 0.5}
-  m_AnchorMax: {x: 1, y: 0.5}
-  m_AnchoredPosition: {x: 0, y: 0}
-  m_SizeDelta: {x: 0, y: 60}
-  m_Pivot: {x: 0.5, y: 0.5}
---- !u!222 &8355837596623320845
-CanvasRenderer:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 1668827557623854269}
-  m_CullTransparentMesh: 0
---- !u!114 &3980037200411588144
-MonoBehaviour:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 1668827557623854269}
-  m_Enabled: 1
-  m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
-  m_Name: 
-  m_EditorClassIdentifier: 
-  m_Material: {fileID: 0}
-  m_Color: {r: 1, g: 1, b: 1, a: 0.12941177}
-  m_RaycastTarget: 1
-  m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
-  m_Maskable: 1
-  m_OnCullStateChanged:
-    m_PersistentCalls:
-      m_Calls: []
-  m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
-  m_Type: 1
-  m_PreserveAspect: 0
-  m_FillCenter: 1
-  m_FillMethod: 4
-  m_FillAmount: 1
-  m_FillClockwise: 1
-  m_FillOrigin: 0
-  m_UseSpriteMesh: 0
-  m_PixelsPerUnitMultiplier: 1
---- !u!114 &487875939721856792
-MonoBehaviour:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 1668827557623854269}
-  m_Enabled: 1
-  m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
-  m_Name: 
-  m_EditorClassIdentifier: 
-  m_IgnoreLayout: 0
-  m_MinWidth: -1
-  m_MinHeight: 20
-  m_PreferredWidth: -1
-  m_PreferredHeight: -1
-  m_FlexibleWidth: 1
-  m_FlexibleHeight: 0
-  m_LayoutPriority: 1
---- !u!114 &7062300083992947690
-MonoBehaviour:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 1668827557623854269}
-  m_Enabled: 1
-  m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: 40f0516aecbd2bb48b2b915f1576ad00, type: 3}
-  m_Name: 
-  m_EditorClassIdentifier: 
-  nameText: {fileID: 8502294024371270356}
-  pointsText: {fileID: 8380995092262412217}
---- !u!114 &4462619395977117909
-MonoBehaviour:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 1668827557623854269}
-  m_Enabled: 1
-  m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3}
-  m_Name: 
-  m_EditorClassIdentifier: 
-  m_Padding:
-    m_Left: 5
-    m_Right: 5
-    m_Top: 0
-    m_Bottom: 0
-  m_ChildAlignment: 0
-  m_Spacing: 10
-  m_ChildForceExpandWidth: 1
-  m_ChildForceExpandHeight: 0
-  m_ChildControlWidth: 1
-  m_ChildControlHeight: 0
-  m_ChildScaleWidth: 0
-  m_ChildScaleHeight: 0
-  m_ReverseArrangement: 0
---- !u!1 &2189208103802656590
-GameObject:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  serializedVersion: 6
-  m_Component:
-  - component: {fileID: 3051462764174508475}
-  - component: {fileID: 2950324220866648863}
-  - component: {fileID: 8502294024371270356}
-  m_Layer: 5
-  m_Name: PlayerName
-  m_TagString: Untagged
-  m_Icon: {fileID: 0}
-  m_NavMeshLayer: 0
-  m_StaticEditorFlags: 0
-  m_IsActive: 1
---- !u!224 &3051462764174508475
-RectTransform:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 2189208103802656590}
-  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
-  m_Children: []
-  m_Father: {fileID: 2113870004414737959}
-  m_RootOrder: 0
-  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 0}
-  m_AnchorMax: {x: 1, y: 1}
-  m_AnchoredPosition: {x: 5, y: 0}
-  m_SizeDelta: {x: -10, y: 0}
-  m_Pivot: {x: 0.5, y: 0.5}
---- !u!222 &2950324220866648863
-CanvasRenderer:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 2189208103802656590}
-  m_CullTransparentMesh: 0
---- !u!114 &8502294024371270356
-MonoBehaviour:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 2189208103802656590}
-  m_Enabled: 1
-  m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
-  m_Name: 
-  m_EditorClassIdentifier: 
-  m_Material: {fileID: 0}
-  m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
-  m_RaycastTarget: 1
-  m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
-  m_Maskable: 1
-  m_OnCullStateChanged:
-    m_PersistentCalls:
-      m_Calls: []
-  m_FontData:
-    m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
-    m_FontSize: 24
-    m_FontStyle: 0
-    m_BestFit: 0
-    m_MinSize: 2
-    m_MaxSize: 40
-    m_Alignment: 3
-    m_AlignByGeometry: 0
-    m_RichText: 1
-    m_HorizontalOverflow: 0
-    m_VerticalOverflow: 0
-    m_LineSpacing: 1
-  m_Text: New Text
---- !u!1 &5650528250997615816
-GameObject:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  serializedVersion: 6
-  m_Component:
-  - component: {fileID: 6044339896983845255}
-  - component: {fileID: 8850173315071199892}
-  - component: {fileID: 8380995092262412217}
-  m_Layer: 5
-  m_Name: PlayerPoints
-  m_TagString: Untagged
-  m_Icon: {fileID: 0}
-  m_NavMeshLayer: 0
-  m_StaticEditorFlags: 0
-  m_IsActive: 1
---- !u!224 &6044339896983845255
-RectTransform:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 5650528250997615816}
-  m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
-  m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
-  m_Children: []
-  m_Father: {fileID: 2265581614379094288}
-  m_RootOrder: 0
-  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 0}
-  m_AnchorMax: {x: 1, y: 1}
-  m_AnchoredPosition: {x: 0, y: 0}
-  m_SizeDelta: {x: 0, y: 0}
-  m_Pivot: {x: 0.5, y: 0.5}
---- !u!222 &8850173315071199892
-CanvasRenderer:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 5650528250997615816}
-  m_CullTransparentMesh: 0
---- !u!114 &8380995092262412217
-MonoBehaviour:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 5650528250997615816}
-  m_Enabled: 1
-  m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
-  m_Name: 
-  m_EditorClassIdentifier: 
-  m_Material: {fileID: 0}
-  m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
-  m_RaycastTarget: 1
-  m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
-  m_Maskable: 1
-  m_OnCullStateChanged:
-    m_PersistentCalls:
-      m_Calls: []
-  m_FontData:
-    m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
-    m_FontSize: 24
-    m_FontStyle: 0
-    m_BestFit: 0
-    m_MinSize: 2
-    m_MaxSize: 40
-    m_Alignment: 4
-    m_AlignByGeometry: 0
-    m_RichText: 1
-    m_HorizontalOverflow: 0
-    m_VerticalOverflow: 0
-    m_LineSpacing: 1
-  m_Text: New Text
---- !u!1 &6142008753517401199
-GameObject:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  serializedVersion: 6
-  m_Component:
-  - component: {fileID: 2113870004414737959}
-  - component: {fileID: 653781257893925430}
-  - component: {fileID: 2826211507665036786}
-  - component: {fileID: 7355410550280828792}
-  m_Layer: 5
-  m_Name: NamePanel
-  m_TagString: Untagged
-  m_Icon: {fileID: 0}
-  m_NavMeshLayer: 0
-  m_StaticEditorFlags: 0
-  m_IsActive: 1
---- !u!224 &2113870004414737959
-RectTransform:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 6142008753517401199}
-  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
-  m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
-  m_Children:
-  - {fileID: 3051462764174508475}
-  m_Father: {fileID: 8182258568001242865}
-  m_RootOrder: 0
-  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 0}
-  m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 0, y: 0}
-  m_SizeDelta: {x: 0, y: 60}
-  m_Pivot: {x: 0, y: 0.5}
---- !u!222 &653781257893925430
-CanvasRenderer:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 6142008753517401199}
-  m_CullTransparentMesh: 0
---- !u!114 &2826211507665036786
-MonoBehaviour:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 6142008753517401199}
-  m_Enabled: 1
-  m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
-  m_Name: 
-  m_EditorClassIdentifier: 
-  m_Material: {fileID: 0}
-  m_Color: {r: 1, g: 1, b: 1, a: 0}
-  m_RaycastTarget: 1
-  m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
-  m_Maskable: 1
-  m_OnCullStateChanged:
-    m_PersistentCalls:
-      m_Calls: []
-  m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
-  m_Type: 1
-  m_PreserveAspect: 0
-  m_FillCenter: 1
-  m_FillMethod: 4
-  m_FillAmount: 1
-  m_FillClockwise: 1
-  m_FillOrigin: 0
-  m_UseSpriteMesh: 0
-  m_PixelsPerUnitMultiplier: 1
---- !u!114 &7355410550280828792
-MonoBehaviour:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 6142008753517401199}
-  m_Enabled: 1
-  m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
-  m_Name: 
-  m_EditorClassIdentifier: 
-  m_IgnoreLayout: 0
-  m_MinWidth: 100
-  m_MinHeight: -1
-  m_PreferredWidth: -1
-  m_PreferredHeight: -1
-  m_FlexibleWidth: 1
-  m_FlexibleHeight: -1
-  m_LayoutPriority: 1
---- !u!1 &8278852657622911528
-GameObject:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  serializedVersion: 6
-  m_Component:
-  - component: {fileID: 2265581614379094288}
-  - component: {fileID: 6280379646137699332}
-  - component: {fileID: 9149763683646833417}
-  - component: {fileID: 2397701629160257509}
-  m_Layer: 5
-  m_Name: PointsPanel
-  m_TagString: Untagged
-  m_Icon: {fileID: 0}
-  m_NavMeshLayer: 0
-  m_StaticEditorFlags: 0
-  m_IsActive: 1
---- !u!224 &2265581614379094288
-RectTransform:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 8278852657622911528}
-  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
-  m_LocalPosition: {x: 0, y: 0, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
-  m_Children:
-  - {fileID: 6044339896983845255}
-  m_Father: {fileID: 8182258568001242865}
-  m_RootOrder: 1
-  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
-  m_AnchorMin: {x: 0, y: 0}
-  m_AnchorMax: {x: 0, y: 0}
-  m_AnchoredPosition: {x: 0, y: 0}
-  m_SizeDelta: {x: 0, y: 60}
-  m_Pivot: {x: 1, y: 0.5}
---- !u!222 &6280379646137699332
-CanvasRenderer:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 8278852657622911528}
-  m_CullTransparentMesh: 0
---- !u!114 &9149763683646833417
-MonoBehaviour:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 8278852657622911528}
-  m_Enabled: 1
-  m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
-  m_Name: 
-  m_EditorClassIdentifier: 
-  m_Material: {fileID: 0}
-  m_Color: {r: 1, g: 1, b: 1, a: 0}
-  m_RaycastTarget: 1
-  m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
-  m_Maskable: 1
-  m_OnCullStateChanged:
-    m_PersistentCalls:
-      m_Calls: []
-  m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0}
-  m_Type: 1
-  m_PreserveAspect: 0
-  m_FillCenter: 1
-  m_FillMethod: 4
-  m_FillAmount: 1
-  m_FillClockwise: 1
-  m_FillOrigin: 0
-  m_UseSpriteMesh: 0
-  m_PixelsPerUnitMultiplier: 1
---- !u!114 &2397701629160257509
-MonoBehaviour:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 8278852657622911528}
-  m_Enabled: 1
-  m_EditorHideFlags: 0
-  m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3}
-  m_Name: 
-  m_EditorClassIdentifier: 
-  m_IgnoreLayout: 0
-  m_MinWidth: 25
-  m_MinHeight: -1
-  m_PreferredWidth: 50
-  m_PreferredHeight: -1
-  m_FlexibleWidth: 1
-  m_FlexibleHeight: -1
-  m_LayoutPriority: 1

+ 0 - 7
Assets/Prefab/PlayerInfo.prefab.meta

@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 60b5f76dad1e30a408a805de4745bec4
-PrefabImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 220 - 114
Assets/Scenes/MainMenu.unity


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 159 - 155
Assets/Scenes/User.unity


+ 267 - 174
Assets/Scripts/Database/Database.cs

@@ -1,15 +1,15 @@
-using System.Collections;
+using System;
+using System.Collections;
 using System.Collections.Generic;
-using UnityEngine;
-using Mono.Data.Sqlite;
 using System.Data;
-using System;
-using UnityEngine.Networking;
 using System.IO;
+using Mono.Data.Sqlite;
+using UnityEngine;
+using UnityEngine.Networking;
 
-public class Database : MonoBehaviour {
-    private const string onlineQuestionsUrl = "narkampen.nordh.xyz/narKampen/dbFiles/Question.php";
-    private const string serverUrl = "narkampen.nordh.xyz/narKampen/dbFiles/";
+public class Database : MonoBehaviour
+{
+    private const string onlineQuestionsUrl = "narkampen.nordh.xyz/narKampen/dbFiles/Question.php"; // TODO update
     string connectionType;
     string databaseUrl;
     string gameMode;
@@ -19,10 +19,15 @@ public class Database : MonoBehaviour {
     public GameObject questionCardPrefab;
 
     private static Database instance;
-    public static Database Instance { get {
-            if (instance == null) {
+    public static Database Instance
+    {
+        get
+        {
+            if (instance == null)
+            {
                 instance = GameObject.FindObjectOfType<Database>();
-                if (instance == null) {
+                if (instance == null)
+                {
                     GameObject container = new GameObject("Database");
                     instance = container.AddComponent<Database>();
                 }
@@ -33,21 +38,26 @@ public class Database : MonoBehaviour {
 
     IDbConnection conn;
 
-    internal void GetCategories(List<CategoryPanel.Category> list, string gameMode, int gameId) {
-        if (gameMode.Equals(Constants.ONLINE)) {
+    internal void GetCategories(List<CategoryPanel.Category> list, string gameMode, int gameId)
+    {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
             OnlineDatabase.Instance.GetCategories(list, gameId);
-        } else {
+        }
+        else
+        {
             //string sql = "SELECT name, r, g, b, a, id FROM category";
             string sql = "SELECT category.*, count(*) as count FROM questions " +
-                            "INNER JOIN questionToCategory ON questions.id = questionToCategory.questionId " + 
-                            "INNER JOIN category ON questionToCategory.categoryId = category.id " + 
+                            "INNER JOIN questionToCategory ON questions.id = questionToCategory.questionId " +
+                            "INNER JOIN category ON questionToCategory.categoryId = category.id " +
                             "GROUP BY category.name";
             IDbCommand cmd = GetConnection();
             cmd.CommandText = sql;
 
             IDataReader reader = cmd.ExecuteReader();
 
-            while (reader.Read()) {
+            while (reader.Read())
+            {
                 CategoryPanel.Category cat = new CategoryPanel.Category();
 
                 byte r = (byte)reader.GetInt32(2);
@@ -66,7 +76,8 @@ public class Database : MonoBehaviour {
     }
 
     [Serializable]
-    public class Question {
+    public class Question
+    {
         public string question;
         public string answer;
         public string id;
@@ -74,23 +85,27 @@ public class Database : MonoBehaviour {
     }
 
     [Serializable]
-    public class Questions {
+    public class Questions
+    {
         public List<Question> questionsList = new List<Question>();
     }
 
     [Serializable]
-    public class PlayerInfo {
+    public class PlayerInfo
+    {
         public string username;
         public string status;
     }
 
     [Serializable]
-    public class PlayerInfos {
+    public class PlayerInfos
+    {
         public List<PlayerInfo> playerInfoList = new List<PlayerInfo>();
     }
 
     [Serializable]
-    public class Category {
+    public class Category
+    {
         public int r;
         public int g;
         public int b;
@@ -100,42 +115,28 @@ public class Database : MonoBehaviour {
     }
 
     [Serializable]
-    public class Categories {
+    public class Categories
+    {
         public List<Category> categoryList = new List<Category>();
     }
 
     [Serializable]
-    public class OnlineGame {
-        public string id;
-        public string winNumber;
-        public string answerTimer;
-        public string roundTimeLimit;
-        public string currentPlayer;
-        public string round;
-        public string startDate;
-        public string LastPlayedDate;
-        public string finishedDate;
-        public string status;
-    }
-
-    [Serializable]
-    public class OnlineGames {
-        public List<OnlineGame> onlineGamesList = new List<OnlineGame>();
-    }
-
-    [Serializable]
-    public class UserName {
+    public class UserName
+    {
         public string id;
         public string username;
     }
 
     [Serializable]
-    public class UserNames {
+    public class UserNames
+    {
         public List<UserName> usernamesList = new List<UserName>();
     }
 
-    internal void SetLastPlayedDate(int gameId) {
-        if (gameMode.Equals(Constants.ONLINE)) {
+    internal void SetLastPlayedDate(int gameId)
+    {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
 
         }
         string sql = "UPDATE game SET lastPlayedDate = DATE() WHERE id = " + gameId;
@@ -146,19 +147,19 @@ public class Database : MonoBehaviour {
         cmd.Dispose();
         CloseConnection();
     }
-    
+
     internal List<OnlineDatabase.UserName> FindRandomPlayer(int playerId)
     {
-        List<OnlineDatabase.UserName> result = new List<OnlineDatabase.UserName>();
-        result = OnlineDatabase.Instance.FindRandomPlayer(playerId);
-
-        return result;
+        return OnlineDatabase.Instance.FindRandomPlayer(playerId);
     }
 
-    private IDbCommand GetConnection() {
-        if (databaseUrl == null) { // ej bra lösning för online
+    private IDbCommand GetConnection()
+    {
+        if (databaseUrl == null)
+        { // TODO ej bra lösning för online
             SetLocalOrOnline(Constants.LOCAL);
         }
+        Debug.Log("Database url " + databaseUrl);
         conn = new SqliteConnection(databaseUrl);
         conn.Open();
         IDbCommand cmd = conn.CreateCommand();
@@ -167,7 +168,8 @@ public class Database : MonoBehaviour {
 
 
 
-    private void CloseConnection() {
+    private void CloseConnection()
+    {
         conn.Close();
     }
 
@@ -176,24 +178,28 @@ public class Database : MonoBehaviour {
     string idString = "";
     string categoryString = "";
     private int round = -1;
-    private string SearchString;
 
     public string QuestionString { get => questionString; set => questionString = value; }
 
 
-    private void Start() {
-        if (instance == null) {
+    private void Start()
+    {
+        if (instance == null)
+        {
             instance = this;
         }
 
-        if (databaseUrl == null || databaseUrl.Equals("")) {
+        if (databaseUrl == null || databaseUrl.Equals(""))
+        {
             SetLocalOrOnline(Constants.LOCAL); // Temporary, should not be needed after local testing
         }
     }
 
-    internal void SignIn(string username, int userId, bool keepSigendIn) {
+    internal void SignIn(string username, int userId, bool keepSigendIn)
+    {
         int ksi = 0;
-        if (keepSigendIn) {
+        if (keepSigendIn)
+        {
             ksi = 1;
         }
         string sql = "INSERT OR REPLACE INTO userSettings (username, userId, keepSignedIn) VALUES ('" + username + "', " + userId + "," + ksi + ")";
@@ -211,9 +217,12 @@ public class Database : MonoBehaviour {
 
     internal void SetGameFinished(int gameId, string gameMode)
     {
-        if (gameMode.Equals(Constants.ONLINE)) {
-            OnlineDatabase.Instance.SetGameFinished(gameId, gameMode);
-        } else {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
+            OnlineDatabase.Instance.SetGameFinished(gameId);
+        }
+        else
+        {
             string sql = "UPDATE game SET finishedDate = DATETIME() WHERE id = " + gameId;
             IDbCommand cmd = GetConnection();
             cmd.CommandText = sql;
@@ -221,20 +230,23 @@ public class Database : MonoBehaviour {
         }
     }
 
-    internal bool IsKeepSignedIn() {
+    internal bool IsKeepSignedIn()
+    {
         string sql = "SELECT keepSignedIn FROM userSettings";
         IDbCommand cmd = GetConnection();
         cmd.CommandText = sql;
 
         IDataReader reader = cmd.ExecuteReader();
         int res = 0;
-        while (reader.Read()) {
+        while (reader.Read())
+        {
             res = reader.GetInt32(0);
         }
         return res == 1;
     }
 
-    internal KeyValuePair<int, string> GetSignedInUser() {
+    internal KeyValuePair<int, string> GetSignedInUser()
+    {
         // string sql = "SELECT userId, username FROM userSettings";
         string sql = "SELECT userId, username FROM userSettings WHERE username = (SELECT value FROM settings WHERE name = 'signedInUser')";
         IDbCommand cmd = GetConnection();
@@ -242,7 +254,8 @@ public class Database : MonoBehaviour {
         int userId = -1;
         string username = "";
         IDataReader reader = cmd.ExecuteReader();
-        while (reader.Read()) {
+        while (reader.Read())
+        {
             userId = reader.GetInt32(0);
             username = reader.GetString(1);
         }
@@ -251,7 +264,8 @@ public class Database : MonoBehaviour {
         return new KeyValuePair<int, string>(userId, username);
     }
 
-    internal void LogoutUser() {
+    internal void LogoutUser()
+    {
         // string sql = "UPDATE userSettings SET keepSignedIn = 0";
         string sql = "DELETE FROM userSettings";
         IDbCommand cmd = GetConnection();
@@ -267,17 +281,21 @@ public class Database : MonoBehaviour {
 
     }
 
-    internal int GetQuestionTimer(int gameId, string gameMode) {
-        if (questionTimer == -1) {
+    internal int GetQuestionTimer(int gameId)
+    {
+        if (questionTimer == -1)
+        {
             string sql = "SELECT answerTimer FROM game WHERE id = " + gameId;
-            if (databaseUrl == null) {
+            if (databaseUrl == null)
+            {
                 SetLocalOrOnline(Constants.LOCAL);
             }
             IDbCommand cmd = GetConnection();
             cmd.CommandText = sql;
             IDataReader reader = cmd.ExecuteReader();
 
-            while (reader.Read()) {
+            while (reader.Read())
+            {
                 questionTimer = reader.GetInt32(0);
             }
             reader.Close();
@@ -286,8 +304,9 @@ public class Database : MonoBehaviour {
         CloseConnection();
         return this.questionTimer;
     }
-    
-    internal List<LocalGameScript> GetLocalGames(GameObject prefab) {
+
+    internal List<LocalGameScript> GetLocalGames(GameObject prefab)
+    {
         List<LocalGameScript> games = new List<LocalGameScript>();
         string sql = "SELECT game.*, name, localUsers.id as userId FROM game INNER JOIN localGamePlayers on game.id = localGamePlayers.gameId INNER JOIN localUsers on playerId = localUsers.id order by game.id ASC, userId ASC";
         IDbConnection conn = new SqliteConnection(databaseUrl);
@@ -299,14 +318,15 @@ public class Database : MonoBehaviour {
         GameObject localGame;
         LocalGameScript lgs = null;
 
-        string currentPlayerName = "";
-        int currentPoints = 0;
-        while (reader.Read()) {
-            if (currentGame != reader.GetInt32(0)) {
+        string currentPlayerName;
+        int currentPoints;
+        while (reader.Read())
+        {
+            if (currentGame != reader.GetInt32(0))
+            {
                 localGame = Instantiate(prefab, new Vector2(0, 0), Quaternion.identity) as GameObject;
                 lgs = localGame.GetComponent<LocalGameScript>();
-               
-               var test = reader.GetValue(5);
+
                 lgs.GameId = reader.GetInt32(0);
                 lgs.GameMode = reader.GetString(1);
                 lgs.QuestionsNeededToWin = reader.GetInt32(2).ToString();
@@ -322,7 +342,9 @@ public class Database : MonoBehaviour {
                 currentPoints = GetPlayerPoints(reader.GetInt32(0), currentPlayerName);
                 lgs.AddPlayer(currentPlayerName, currentPoints);
                 games.Add(lgs);
-            } else if (currentGame == reader.GetInt32(0)) {
+            }
+            else if (currentGame == reader.GetInt32(0))
+            {
                 currentPlayerName = reader.GetString(10);
                 currentPoints = GetPlayerPoints(currentGame, currentPlayerName);
                 lgs.AddPlayer(currentPlayerName, currentPoints);
@@ -337,11 +359,15 @@ public class Database : MonoBehaviour {
         return games;
     }
 
-    internal void IncreasePlayerRound(int gameId, string currentPlayer) {
-        
-        if (gameMode.Equals(Constants.ONLINE)) {
+    internal void IncreasePlayerRound(int gameId, string currentPlayer)
+    {
+
+        if (gameMode.Equals(Constants.ONLINE))
+        {
             OnlineDatabase.Instance.IncreasePlayerRound(gameId, currentPlayer);
-        } else {
+        }
+        else
+        {
             String sql = "UPDATE localGamePlayers SET playerRound = playerRound + 1 WHERE gameId = " + gameId + " AND playerId = (SELECT id FROM localUsers WHERE name = '" + currentPlayer + "')";
             IDbConnection conn = new SqliteConnection(databaseUrl);
             conn.Open();
@@ -356,7 +382,8 @@ public class Database : MonoBehaviour {
 
     }
 
-    internal void SetQuestionsLost(int gameId, string playerName, int questionsLost) {
+    internal void SetQuestionsLost(int gameId, string playerName, int questionsLost)
+    {
 
         string sql = "UPDATE localGamePlayers SET questionsLost = questionsLost + " + questionsLost + " WHERE gameId = " + gameId + " AND playerId = (SELECT id FROM localUsers WHERE  name = '" + playerName + "')";
         IDbConnection conn = new SqliteConnection(databaseUrl);
@@ -371,10 +398,10 @@ public class Database : MonoBehaviour {
 
     }
 
-    internal void RemoveGame(int gameId) {
+    internal void RemoveGame(int gameId)
+    {
         string sql = "DELETE FROM game WHERE id = " + gameId;
 
-        List<LocalGameScript> games = new List<LocalGameScript>();
         IDbConnection conn = new SqliteConnection(databaseUrl);
         conn.Open();
         IDbCommand cmd = conn.CreateCommand();
@@ -389,8 +416,10 @@ public class Database : MonoBehaviour {
         conn.Close();
     }
 
-    public string GetCurrentPlayer(int gameId, string gameMode) {
-        if (gameMode.Equals(Constants.ONLINE)) {
+    public string GetCurrentPlayer(int gameId, string gameMode)
+    {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
             return OnlineDatabase.Instance.GetCurrentPlayer(gameId);
         }
         string sql = "SELECT currentPlayer FROM game WHERE id = " + gameId;
@@ -401,7 +430,8 @@ public class Database : MonoBehaviour {
         IDataReader reader = cmd.ExecuteReader();
 
         string currentPlayer = "";
-        while (reader.Read()) {
+        while (reader.Read())
+        {
             currentPlayer = reader.GetString(0);
         }
         reader.Close();
@@ -411,10 +441,14 @@ public class Database : MonoBehaviour {
         return currentPlayer;
     }
 
-    public void SetCurrentPlayer(int gameId, string currentPlayer, string gameMode) {
-        if (gameMode.Equals(Constants.ONLINE)) {
+    public void SetCurrentPlayer(int gameId, string currentPlayer, string gameMode)
+    {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
             OnlineDatabase.Instance.SetCurrentPlayer(gameId, currentPlayer);
-        } else {
+        }
+        else
+        {
             string sql = "UPDATE game SET currentPlayer = '" + currentPlayer + "' WHERE id = " + gameId;
             IDbConnection conn = new SqliteConnection(databaseUrl);
             conn.Open();
@@ -427,7 +461,8 @@ public class Database : MonoBehaviour {
         }
     }
 
-    internal int GetPlayerPoints(int gameId, string playerName) {
+    internal int GetPlayerPoints(int gameId, string playerName)
+    {
         string sql = "SELECT count(*) FROM usersLockedQuestions WHERE gameId = " + gameId + " AND playerName = '" + playerName + "'";
         IDbConnection conn = new SqliteConnection(databaseUrl);
         conn.Open();
@@ -436,7 +471,8 @@ public class Database : MonoBehaviour {
         IDataReader reader = cmd.ExecuteReader();
 
         int points = 0;
-        while (reader.Read()) {
+        while (reader.Read())
+        {
             points = reader.GetInt32(0);
         }
         reader.Close();
@@ -446,10 +482,14 @@ public class Database : MonoBehaviour {
         return points;
     }
 
-    internal void SetFinishedDate(int gameId, string finishedDate, string gameMode) {
-        if (gameMode.Equals(Constants.ONLINE)) {
+    internal void SetFinishedDate(int gameId, string finishedDate, string gameMode)
+    {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
             OnlineDatabase.Instance.SetFinishedDate(gameId, finishedDate);
-        } else {
+        }
+        else
+        {
             string sql = "UPDATE game SET finishedDate = '" + finishedDate + "' WHERE id = " + gameId;
             IDbConnection conn = new SqliteConnection(databaseUrl);
             conn.Open();
@@ -462,10 +502,14 @@ public class Database : MonoBehaviour {
         }
     }
 
-    internal void SetRoundValue(int gameId, int round, string gameMode) {
-        if (gameMode.Equals(Constants.ONLINE)) {
+    internal void SetRoundValue(int gameId, int round, string gameMode)
+    {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
             OnlineDatabase.Instance.SetRoundValue(gameId, round);
-        } else {
+        }
+        else
+        {
             string sql = "UPDATE game SET round = " + round + " WHERE id = " + gameId;
             IDbConnection conn = new SqliteConnection(databaseUrl);
             conn.Open();
@@ -478,11 +522,14 @@ public class Database : MonoBehaviour {
         }
     }
 
-    internal int GetRoundValue(int gameId, string gameMode) {
-        if (gameMode.Equals(Constants.ONLINE)) {
+    internal int GetRoundValue(int gameId, string gameMode)
+    {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
             return OnlineDatabase.Instance.GetRoundValue(gameId);
         }
-        if (this.round == -1) {
+        if (this.round == -1)
+        {
             SetLocalOrOnline(Constants.LOCAL);
             string sql = "SELECT round FROM game WHERE id = " + gameId;
             IDbConnection conn = new SqliteConnection(databaseUrl);
@@ -490,7 +537,8 @@ public class Database : MonoBehaviour {
             IDbCommand cmd = conn.CreateCommand();
             cmd.CommandText = sql;
             IDataReader reader = cmd.ExecuteReader();
-            while (reader.Read()) {
+            while (reader.Read())
+            {
                 this.round = reader.GetInt32(0);
             }
             reader.Close();
@@ -500,8 +548,10 @@ public class Database : MonoBehaviour {
         return this.round;
     }
 
-    internal List<KeyValuePair<string, int>> GetPlayersForGame(int gameId, string gameMode) {
-        if (gameMode.Equals(Constants.ONLINE)) {
+    internal List<KeyValuePair<string, int>> GetPlayersForGame(int gameId, string gameMode)
+    {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
             return OnlineDatabase.Instance.GetPlayersForGame(gameId);
         }
         string sql = "SELECT name, (SELECT count(*) FROM usersLockedQuestions WHERE playerName = localUsers.name AND gameId = " + gameId + ") as numAnswers  FROM localGamePlayers " +
@@ -515,7 +565,8 @@ public class Database : MonoBehaviour {
         IDataReader reader = cmd.ExecuteReader();
 
         List<KeyValuePair<string, int>> returnList = new List<KeyValuePair<string, int>>();
-        while (reader.Read()) {
+        while (reader.Read())
+        {
             KeyValuePair<string, int> player = new KeyValuePair<string, int>(reader.GetString(0), reader.GetInt32(1));
             returnList.Add(player);
         }
@@ -527,14 +578,17 @@ public class Database : MonoBehaviour {
     public string IdString { get => idString; set => idString = value; }
     public string CategoryString { get => categoryString; set => categoryString = value; }
 
-    public void SetLocalOrOnline(string type) {
+    public void SetLocalOrOnline(string type)
+    {
         gameMode = type;
-        if (type.Equals(Constants.LOCAL)) {
+        if (type.Equals(Constants.LOCAL))
+        {
             string databaseName = "narKampenLocal.db";
-            if (Application.platform == RuntimePlatform.Android) {
+            if (Application.platform == RuntimePlatform.Android)
+            {
                 databaseUrl = Application.persistentDataPath + "/" + databaseName;
-
-                if (!File.Exists(databaseUrl)) {
+                if (!File.Exists(databaseUrl))
+                {
                     UnityWebRequest load = UnityWebRequest.Get("jar:file://" + Application.dataPath + "!/assets/" + databaseName);
                     load.SendWebRequest();
                     while (!load.isDone) { }
@@ -542,17 +596,25 @@ public class Database : MonoBehaviour {
                     File.WriteAllBytes(databaseUrl, load.downloadHandler.data);
                 }
                 databaseUrl = "URI=file:" + databaseUrl;
-            } else {
-                databaseUrl = "URI=file:" + Application.dataPath + "/narKampenLocal.db";
             }
-        } else {
+            else
+            {
+                databaseUrl = "URI=file:" + Application.dataPath + "/" + databaseName;
+            }
+        }
+        else
+        {
             databaseUrl = onlineQuestionsUrl;
         }
         connectionType = type;
+
+        Debug.Log("Database url " + databaseUrl);
     }
 
-    internal int GetQuestionsLost(int gameId, string playerName, string gameMode) {
-        if (gameMode.Equals(Constants.ONLINE)) {
+    internal int GetQuestionsLost(int gameId, string playerName, string gameMode)
+    {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
             return OnlineDatabase.Instance.GetQuestionsLost(gameId, playerName);
         }
         string sql = "SELECT questionsLost FROM localGamePlayers WHERE gameId = " + gameId + " AND playerId = (SELECT id from localUsers WHERE name = '" + playerName + "')";
@@ -562,7 +624,8 @@ public class Database : MonoBehaviour {
         cmd.CommandText = sql;
         IDataReader reader = cmd.ExecuteReader();
         int returnValue = 0;
-        while (reader.Read()) {
+        while (reader.Read())
+        {
             returnValue = reader.GetInt32(0);
         }
         reader.Close();
@@ -572,15 +635,18 @@ public class Database : MonoBehaviour {
         return returnValue;
     }
 
-    public string GetGameMode(int gameId) {
-        if (this.gameMode == null) {
+    public string GetGameMode(int gameId)
+    {
+        if (this.gameMode == null)
+        {
             string sql = "SELECT gameMode FROM game WHERE id = " + gameId;
             IDbConnection conn = new SqliteConnection(databaseUrl);
             conn.Open();
             IDbCommand cmd = conn.CreateCommand();
             cmd.CommandText = sql;
             IDataReader reader = cmd.ExecuteReader();
-            while (reader.Read()) {
+            while (reader.Read())
+            {
                 this.gameMode = reader.GetString(0);
             }
             reader.Close();
@@ -590,7 +656,8 @@ public class Database : MonoBehaviour {
         return this.gameMode;
     }
 
-    public void LinkPlayersToLocalGame(List<string> playerNames, int gameId) {
+    public void LinkPlayersToLocalGame(List<string> playerNames, int gameId)
+    {
 
         IDbConnection conn = new SqliteConnection(databaseUrl);
         conn.Open();
@@ -599,20 +666,25 @@ public class Database : MonoBehaviour {
         cmd.CommandText = questionSql;
         IDataReader reader = cmd.ExecuteReader();
         int questionId = -1;
-        while (reader.Read()) {
+        while (reader.Read())
+        {
             questionId = reader.GetInt32(0);
         }
         List<int> l = new List<int>();
         l.Add(questionId);
-        foreach (string player in playerNames) {
+        foreach (string player in playerNames)
+        {
             string sql = "SELECT id FROM localUsers WHERE name = '" + player + "'";
             int playerId;
             cmd = conn.CreateCommand();
             cmd.CommandText = sql;
             reader = cmd.ExecuteReader();
-            if (reader.Read()) {
+            if (reader.Read())
+            {
                 playerId = reader.GetInt32(0);
-            } else {
+            }
+            else
+            {
                 reader.Close();
                 sql = "INSERT INTO localUsers (name) VALUES ('" + player + "')";
                 cmd.CommandText = sql;
@@ -636,7 +708,8 @@ public class Database : MonoBehaviour {
         conn.Close();
     }
 
-    private void LinkPlayerToGame(int playerId, int gameId) {
+    private void LinkPlayerToGame(int playerId, int gameId)
+    {
         string sql = "INSERT INTO localGamePlayers (gameId, playerId) VALUES (" + gameId + ", " + playerId + ")";
         SqliteConnection conn2 = new SqliteConnection(databaseUrl);
         conn2.Open();
@@ -647,18 +720,22 @@ public class Database : MonoBehaviour {
         conn2.Close();
     }
 
-    internal int GetWinCondition(int gameId, string gameMode) {
-        if (gameMode.Equals(Constants.ONLINE)) {
+    internal int GetWinCondition(int gameId, string gameMode)
+    {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
             return OnlineDatabase.Instance.GetWinCondition(gameId);
         }
-        if (winAmount == -1) {
+        if (winAmount == -1)
+        {
             string sql = "SELECT winNumber FROM game WHERE id = " + gameId;
             IDbConnection conn = new SqliteConnection(databaseUrl);
             conn.Open();
             IDbCommand cmd = conn.CreateCommand();
             cmd.CommandText = sql;
             IDataReader reader = cmd.ExecuteReader();
-            while (reader.Read()) {
+            while (reader.Read())
+            {
                 this.winAmount = reader.GetInt32(0);
             }
             reader.Close();
@@ -668,13 +745,14 @@ public class Database : MonoBehaviour {
         return this.winAmount;
     }
 
-    public int SetupNewLocalGame(int winNumber, int numberOfPlayers, int questionTimer) {
+    public int SetupNewLocalGame(int winNumber, int numberOfPlayers, int questionTimer)
+    {
         string sql = "INSERT INTO game (winNumber, numberOfPlayers, answerTimer, gameMode, startedDate) VALUES (" + winNumber + "," + numberOfPlayers + "," + questionTimer + ", 'Local', DATE())";
         IDbConnection conn = new SqliteConnection(databaseUrl);
         conn.Open();
         IDbCommand cmd = conn.CreateCommand();
         cmd.CommandText = sql;
-        int status = cmd.ExecuteNonQuery();
+        cmd.ExecuteNonQuery();
 
         cmd.CommandText = "SELECT last_insert_rowid()";
         Int64 lastInsert64 = (Int64)cmd.ExecuteScalar();
@@ -682,20 +760,24 @@ public class Database : MonoBehaviour {
         return (int)lastInsert64;
     }
 
-    public NewQuestionData GetNewQuestion(List<int> userAnsweredQuestions, KeyValuePair<int, String> user, string gameMode) {
-        if (gameMode.Equals(Constants.ONLINE)) {
-            return OnlineDatabase.Instance.GetNewQuestion(userAnsweredQuestions, user.Key);
+    public NewQuestionData GetNewQuestion(List<int> userAnsweredQuestions, KeyValuePair<int, String> user, string gameMode)
+    {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
+            return OnlineDatabase.Instance.GetNewQuestion(user.Key);
         }
         int gameId = GameObject.Find("GameManager").GetComponent<GameManagerScript>().GameId;
         Color32 questionCategoryColor = new Color32(0, 0, 20, 20);
-        if (connectionType == null) {
+        if (connectionType == null)
+        {
             SetLocalOrOnline(GetGameMode(gameId));
         }
 
         int id = -1;
         int categoryId = -1;
         string categoryName = "";
-        if (connectionType == Constants.LOCAL) {
+        if (connectionType == Constants.LOCAL)
+        {
             IDbConnection conn = new SqliteConnection(databaseUrl);
             conn.Open();
             IDbCommand cmd = conn.CreateCommand();
@@ -706,7 +788,8 @@ public class Database : MonoBehaviour {
             cmd.CommandText = sql;
             IDataReader reader = cmd.ExecuteReader();
 
-            while (reader.Read()) {
+            while (reader.Read())
+            {
                 id = reader.GetInt32(0);
                 string question = reader.GetString(1);
                 int answer = reader.GetInt32(2);
@@ -739,14 +822,19 @@ public class Database : MonoBehaviour {
         return q;
     }
 
-    public void SavePlayersQuestion(List<int> questionsToSave, string playerNameValue, int gameId, string gameMode) {
-        if (gameMode.Equals(Constants.ONLINE)) {
+    public void SavePlayersQuestion(List<int> questionsToSave, string playerNameValue, int gameId, string gameMode)
+    {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
             OnlineDatabase.Instance.SavePlayersQuestion(questionsToSave, playerNameValue, gameId);
-        } else { 
+        }
+        else
+        {
             SetLocalOrOnline(gameMode);
-            
+
             string values = "";
-            foreach (int questionId in questionsToSave) {
+            foreach (int questionId in questionsToSave)
+            {
                 values += "('" + playerNameValue + "'," + questionId + "," + gameId + "),";
             }
             values = values.Substring(0, values.Length - 1);
@@ -763,16 +851,20 @@ public class Database : MonoBehaviour {
         }
     }
 
-    public List<NewQuestionData> GetPlayerQuestions(int gameId, string playerNameValue, string gameMode) {
-        if (gameMode.Equals(Constants.ONLINE)) {
+    public List<NewQuestionData> GetPlayerQuestions(int gameId, string playerNameValue, string gameMode)
+    {
+        if (gameMode.Equals(Constants.ONLINE))
+        {
             return OnlineDatabase.Instance.GetPlayerQuestions(gameId, playerNameValue);
         }
-        if (databaseUrl == null) {
+        if (databaseUrl == null)
+        {
             SetLocalOrOnline(GetGameMode(gameId));
         }
         List<NewQuestionData> questions = new List<NewQuestionData>();
 
-        if (connectionType.Equals(Constants.LOCAL)) {
+        if (connectionType.Equals(Constants.LOCAL))
+        {
             string sql = "SELECT * FROM questions inner join questionToCategory on questions.id = questionToCategory.questionId INNER JOIN category ON category.id = questionToCategory.categoryId WHERE questions.id IN ( SELECT questionId FROM usersLockedQuestions WHERE gameId = " + gameId + " AND playerName = '" + playerNameValue + "') ORDER BY answer ASC";
             IDbConnection conn = new SqliteConnection(databaseUrl);
             conn.Open();
@@ -780,15 +872,16 @@ public class Database : MonoBehaviour {
             cmd.CommandText = sql;
 
             IDataReader reader = cmd.ExecuteReader();
-            while (reader.Read()) {
+            while (reader.Read())
+            {
                 Color32 questionCategoryColor = new Color32((byte)reader.GetInt32(7), (byte)reader.GetInt32(8), (byte)reader.GetInt32(9), (byte)reader.GetInt32(10));
 
                 NewQuestionData questionData = new NewQuestionData(
-                    reader.GetInt32(2).ToString(), 
-                    reader.GetString(1), 
+                    reader.GetInt32(2).ToString(),
+                    reader.GetString(1),
                     reader.GetString(6),
                     reader.GetInt32(5),
-                    reader.GetInt32(0), 
+                    reader.GetInt32(0),
                     questionCategoryColor,
                     true);
 
@@ -801,29 +894,29 @@ public class Database : MonoBehaviour {
         return questions;
     }
 
-    private IEnumerator GetQuestionData(bool showAnswer) {
-        UnityWebRequest www = UnityWebRequest.Get("narkampen.nordh.xyz/narKampen/dbFiles/Question.php");
+    /*     private IEnumerator GetQuestionData(bool showAnswer) {
+            UnityWebRequest www = UnityWebRequest.Get("narkampen.nordh.xyz/narKampen/dbFiles/Question.php");
 
-        yield return www.SendWebRequest();
+            yield return www.SendWebRequest();
 
-        if (www.isNetworkError || www.isHttpError) {
-            Debug.Log(www.error);
-        } else {
-            while (!www.isDone) {
-                yield return null;
-            }
-            // Show result
-            string jsonData = www.downloadHandler.text;
+            if (www.isNetworkError || www.isHttpError) {
+                Debug.Log(www.error);
+            } else {
+                while (!www.isDone) {
+                    yield return null;
+                }
+                // Show result
+                string jsonData = www.downloadHandler.text;
 
-            jsonData = "{\"questionsList\" : [ " + jsonData + " ]}";
+                jsonData = "{\"questionsList\" : [ " + jsonData + " ]}";
 
-            Questions qe = new Questions();
-            JsonUtility.FromJsonOverwrite(jsonData, qe);
+                Questions qe = new Questions();
+                JsonUtility.FromJsonOverwrite(jsonData, qe);
 
-            questionString = qe.questionsList[0].question;
-            answerString = qe.questionsList[0].answer;
-            idString = qe.questionsList[0].id;
-            categoryString = qe.questionsList[0].category;
-        }
-    }
+                questionString = qe.questionsList[0].question;
+                answerString = qe.questionsList[0].answer;
+                idString = qe.questionsList[0].id;
+                categoryString = qe.questionsList[0].category;
+            }
+        } */
 }

+ 4 - 0
Assets/Scripts/Database/OnlineDatabase.cs

@@ -738,7 +738,11 @@ public class OnlineDatabase
 
         string response = CallOnlineDatabaseWithResponse("OnlineGames.php", formData);
 
+<<<<<<< Updated upstream
         Debug.Log("Response: " + response);
+=======
+        UnityEngine.Debug.Log("Response: " + response);
+>>>>>>> Stashed changes
         if (response.Equals("No games found for user") || response.Equals(""))
         {
             return null;

+ 1 - 1
Assets/Scripts/Database/OnlineDatabase.cs.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: acdfd3ec6b2f4a1498d0a188104fa1bb
+guid: 7d8fd10b5b443c84aa2c44f22f6cebd3
 MonoImporter:
   externalObjects: {}
   serializedVersion: 2

+ 8 - 11
Assets/Scripts/EventManager.cs

@@ -1,14 +1,14 @@
-using UnityEngine;
-using UnityEngine.Events;
-using System.Collections;
+using System.Collections;
 using System.Collections.Generic;
+using UnityEngine;
+using UnityEngine.Events;
 
 public class EventManager : MonoBehaviour {
     private Dictionary<string, UnityEvent> eventDictionary;
 
     private static EventManager eventManager;
 
-    public static EventManager instance {
+    public static EventManager Instance {
         get {
             if (!eventManager) {
                 eventManager = FindObjectOfType(typeof(EventManager)) as EventManager;
@@ -31,27 +31,24 @@ public class EventManager : MonoBehaviour {
     }
 
     public static void StartListening(string eventName, UnityAction listener) {
-        UnityEvent thisEvent = null;
-        if (instance.eventDictionary.TryGetValue(eventName, out thisEvent)) {
+        if (Instance.eventDictionary.TryGetValue(eventName, out UnityEvent thisEvent)) {
             thisEvent.AddListener(listener);
         } else {
             thisEvent = new UnityEvent();
             thisEvent.AddListener(listener);
-            instance.eventDictionary.Add(eventName, thisEvent);
+            Instance.eventDictionary.Add(eventName, thisEvent);
         }
     }
 
     public static void StopListening(string eventName, UnityAction listener) {
         if (eventManager == null) return;
-        UnityEvent thisEvent = null;
-        if (instance.eventDictionary.TryGetValue(eventName, out thisEvent)) {
+        if (Instance.eventDictionary.TryGetValue(eventName, out UnityEvent thisEvent)) {
             thisEvent.RemoveListener(listener);
         }
     }
 
     public static void TriggerEvent(string eventName) {
-        UnityEvent thisEvent = null;
-        if (instance.eventDictionary.TryGetValue(eventName, out thisEvent)) {
+        if (Instance.eventDictionary.TryGetValue(eventName, out UnityEvent thisEvent)) {
             thisEvent.Invoke();
         }
     }

+ 33 - 49
Assets/Scripts/GameManagerScript.cs

@@ -2,8 +2,8 @@
 using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
-using UnityEngine.UI;
 using UnityEngine.SceneManagement;
+using UnityEngine.UI;
 
 public class GameManagerScript : MonoBehaviour {
 
@@ -18,12 +18,12 @@ public class GameManagerScript : MonoBehaviour {
     public OnlineDatabase odb;
     StatsScript statsScript;
     ScrollViewScript scrollViewScript;
-     
-     [SerializeField] GameObject NewQuestionCard;
-     [SerializeField] GameObject AnswerLine;
-     [SerializeField] GameObject AnswerLineQuestionCard;
-     [SerializeField] GameObject DropZonePrefab;
-     [SerializeField] GameObject TimerPanel;
+
+    [SerializeField] GameObject NewQuestionCard;
+    [SerializeField] GameObject AnswerLine;
+    [SerializeField] GameObject AnswerLineQuestionCard;
+    [SerializeField] GameObject DropZonePrefab;
+    [SerializeField] GameObject TimerPanel;
     public string GameMode { get => gameMode; set => gameMode = value; }
     public int GameId { get; internal set; }
 
@@ -60,18 +60,17 @@ public class GameManagerScript : MonoBehaviour {
         }
 
         GameObject answerLineObject = GameObject.FindGameObjectWithTag("AnswerLine");
-        
+
         if (answerLineObject != null) {
             scrollViewScript = answerLineObject.transform.parent.parent.GetComponent<ScrollViewScript>();
         }
-        
+
         if (SceneManager.GetActiveScene().name.Equals(Constants.SCENE_NAR_KAMPEN)) {
             currentPlayer = Database.Instance.GetCurrentPlayer(GameId, GameMode);
         }
     }
 
-    public void StartTimer()
-    {
+    public void StartTimer() {
         TimerPanel.GetComponentInChildren<TimerScript>().ResetTimer();
         TimerPanel.GetComponentInChildren<TimerScript>().StartTimer();
     }
@@ -82,25 +81,22 @@ public class GameManagerScript : MonoBehaviour {
         timerScript.ResetTimer();
     }
 
-    void Awake()
-    {
+    void Awake() {
         if (SceneManager.GetActiveScene().name.Equals(Constants.SCENE_NAR_KAMPEN)) {
             GameId = PlayerPrefs.GetInt(Constants.GAME_ID);
             GameMode = PlayerPrefs.GetString(Constants.GAME_MODE);
             if (Database.Instance.GetRoundValue(GameId, GameMode) == 1) {
-                StartCoroutine(startAnimation());
+                StartCoroutine(StartAnimation());
             }
         }
     }
 
-    private IEnumerator startAnimation()
-    {
+    private IEnumerator StartAnimation() {
 
         NewQuestionCardController newQuestionCardController = NewQuestionCard.GetComponent<NewQuestionCardController>();
         newQuestionCardController.RotateCard();
 
-        while (!newQuestionCardController.getRotationDone())
-        {
+        while (!newQuestionCardController.GetRotationDone()) {
             yield return new WaitForSeconds(0.1f);
         }
 
@@ -127,7 +123,7 @@ public class GameManagerScript : MonoBehaviour {
         firstAnswerLineQuestion.GetComponent<LayoutElement>().preferredWidth = newQuestionRect.rect.width;
         firstAnswerLineQuestion.transform.SetParent(AnswerLine.transform);
         firstAnswerLineQuestion.transform.SetSiblingIndex(0);
-        firstAnswerLineQuestion.transform.localScale = new Vector3(1,1,1);
+        firstAnswerLineQuestion.transform.localScale = new Vector3(1, 1, 1);
 
         CreateLeftSpacer(newQuestionRect.rect.width);
         CreateRightSpacer(newQuestionRect.rect.width);
@@ -137,20 +133,19 @@ public class GameManagerScript : MonoBehaviour {
         StopTimer();
     }
 
-    internal void CheckWin(List<QuestionCard> answerLine)
-    {
+    internal void CheckWin(List<QuestionCard> answerLine) {
         if (answerLine.Count == NeededForWin) {
             GenericDialog dialog = GenericDialog.Instance();
             dialog.SetTitle(LocalizationManager.Instance.GetText("WINNER_DIALOG_TITLE"));
             string message = LocalizationManager.Instance.GetText("WINNER_DIALOG_MESSAGE");
-            dialog.SetMessage(String.Format(message, NeededForWin, 
-                Database.Instance.GetQuestionsLost(GameId, currentPlayer, GameMode), 
+            dialog.SetMessage(String.Format(message, NeededForWin,
+                Database.Instance.GetQuestionsLost(GameId, currentPlayer, GameMode),
                 Database.Instance.GetRoundValue(GameId, GameMode)));
             dialog.SetOnAccept(LocalizationManager.Instance.GetText("OK"), () => {
                 GameStatus = "FINISHED";
                 Database.Instance.SetGameFinished(GameId, GameMode);
                 scrollViewScript.SetAllQuestionsLocked(true);
-                
+
                 if (GameMode.Equals(Constants.ONLINE)) {
                     OnlineDatabase.Instance.SendGameOverMessage(GameId, players, currentPlayer, Database.Instance.GetRoundValue(GameId, GameMode));
                 }
@@ -162,8 +157,7 @@ public class GameManagerScript : MonoBehaviour {
         }
     }
 
-    internal void RemoveUnlockedQuestions()
-    {
+    internal void RemoveUnlockedQuestions() {
         if (scrollViewScript == null) {
             scrollViewScript = GameObject.FindGameObjectWithTag("AnswerLine").transform.parent.parent.GetComponent<ScrollViewScript>();
         }
@@ -171,46 +165,40 @@ public class GameManagerScript : MonoBehaviour {
     }
 
     internal int GetUnlockedQuestionsCount() {
-                if (scrollViewScript == null) {
+        if (scrollViewScript == null) {
             scrollViewScript = GameObject.FindGameObjectWithTag("AnswerLine").transform.parent.parent.GetComponent<ScrollViewScript>();
         }
         return scrollViewScript.GetUnlockedQuestionCount();
     }
 
-    private void CreateLeftSpacer(float width)
-    {
-        GameObject newSpacerLeft = Instantiate(DropZonePrefab);     
+    private void CreateLeftSpacer(float width) {
+        GameObject newSpacerLeft = Instantiate(DropZonePrefab);
         newSpacerLeft.GetComponent<LayoutElement>().preferredWidth = width;
         newSpacerLeft.name = "LeftDropZone";
         newSpacerLeft.GetComponent<NewDropZoneScript>().LeftmostSpacer = true;
         newSpacerLeft.transform.SetParent(AnswerLine.transform);
         newSpacerLeft.transform.SetAsFirstSibling();
-        newSpacerLeft.transform.localScale = new Vector3(1,1,1);
+        newSpacerLeft.transform.localScale = new Vector3(1, 1, 1);
     }
 
-    private void CreateRightSpacer(float width)
-    {
-        GameObject newSpacerRight = Instantiate(DropZonePrefab);     
+    private void CreateRightSpacer(float width) {
+        GameObject newSpacerRight = Instantiate(DropZonePrefab);
         newSpacerRight.GetComponent<LayoutElement>().preferredWidth = width;
         newSpacerRight.name = "RightDropZone";
         newSpacerRight.GetComponent<NewDropZoneScript>().RightmostSpacer = true;
         newSpacerRight.transform.SetParent(AnswerLine.transform);
         newSpacerRight.transform.SetAsLastSibling();
-        newSpacerRight.transform.localScale = new Vector3(1,1,1);
+        newSpacerRight.transform.localScale = new Vector3(1, 1, 1);
     }
 
-    private IEnumerator MoveCardToAnswerLine()
-    {
+    private IEnumerator MoveCardToAnswerLine() {
         newQuestionCardMoving = true;
         Vector3 alPosition = AnswerLine.transform.position;
         float t = 0f;
-        while (alPosition != NewQuestionCard.transform.position)
-        {
+        while (alPosition != NewQuestionCard.transform.position) {
             t += Time.deltaTime / 10.0f;
-            float step = movementSpeed * Time.deltaTime;
             NewQuestionCard.transform.position = Vector3.Lerp(NewQuestionCard.transform.position, AnswerLine.transform.position, t);
-            if (Vector3.Distance(NewQuestionCard.transform.position, AnswerLine.transform.position) < 0.01f)
-            {
+            if (Vector3.Distance(NewQuestionCard.transform.position, AnswerLine.transform.position) < 0.01f) {
                 NewQuestionCard.transform.position = AnswerLine.transform.position;
             }
             yield return null;
@@ -218,7 +206,7 @@ public class GameManagerScript : MonoBehaviour {
         newQuestionCardMoving = false;
     }
 
-    private List<KeyValuePair<string,int>> GetPlayersForGame() {
+    private List<KeyValuePair<string, int>> GetPlayersForGame() {
         players = db.GetPlayersForGame(GameId, GameMode);
         return players;
     }
@@ -227,10 +215,6 @@ public class GameManagerScript : MonoBehaviour {
         db.SetQuestionsLost(GameId, playerName, questionsLost);
     }
 
-    public void UpdateQuestionsInAnswerLine(string playerName, int count) {
-        
-    }
-
     public List<KeyValuePair<string, int>> GetPlayers() {
         if (players == null) {
             players = GetPlayersForGame();
@@ -269,7 +253,7 @@ public class GameManagerScript : MonoBehaviour {
                 }
             }
         }
-        
+
         GenericDialog dialog = GenericDialog.Instance();
         dialog.SetTitle(LocalizationManager.Instance.GetText("NEXT_PLAYER_DIALOG_TITLE"));
         string message = LocalizationManager.Instance.GetText("NEXT_PLAYER_DIALOG_MESSAGE");
@@ -308,7 +292,7 @@ public class GameManagerScript : MonoBehaviour {
         Application.Quit();
     }
 
-    public String getLanguage() {
+    public String GetLanguage() {
 
         return "Svenska";
     }

+ 103 - 87
Assets/Scripts/Login/Login.cs

@@ -1,17 +1,19 @@
-using System.Collections;
+using System;
+using System.Collections;
 using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Networking;
-using UnityEngine.UI;
-using UnityEngine.EventSystems;
-using UnityEngine.SceneManagement;
-using System;
 using System.Security.Cryptography;
 using System.Text;
-using UnityEngine.Events;
 using Firebase;
+using Firebase.Auth;
+using UnityEngine;
+using UnityEngine.Events;
+using UnityEngine.EventSystems;
+using UnityEngine.Networking;
+using UnityEngine.SceneManagement;
+using UnityEngine.UI;
 
-public class Login : MonoBehaviour {
+public class Login : MonoBehaviour
+{
 
     public InputField usernameInputField;
     public InputField passwordInputField;
@@ -25,62 +27,95 @@ public class Login : MonoBehaviour {
 
     private string Username;
     private string Password;
-    private string loginUrl = "http://nordh.xyz/narKampen/dbFiles/Login.php?";
+    private readonly string loginUrl = "http://nordh.xyz/narKampen/dbFiles/Login.php?";
     private Color errorColor;
     private EventSystem system;
 
+    private FirebaseAuth auth;
+    private FirebaseUser user;
+
     [SerializeField] GameObject firebaseController;
 
     [Serializable]
-    public class User {
+    public class User
+    {
         public string userId;
         public string pass;
         public string salt;
     }
 
-    private void Start() {
-        if (Database.Instance.IsKeepSignedIn()) {
+    private void Awake()
+    {
+        if (Database.Instance.IsKeepSignedIn())
+        {
             SceneManager.LoadScene("MainMenu");
         }
-        loginButton.onClick.AddListener(loginAction);
-        errorColor = errorText.color;
-        system = EventSystem.current;
-/*        swedishLangButton.onClick.AddListener(() => SwitchLanguage(0));
-        englishLangButton.onClick.AddListener(() => SwitchLanguage(1));*/ 
+        else
+        {
+            FirebaseApp.CheckAndFixDependenciesAsync().ContinueWith(task =>
+            {
+                DependencyStatus dependencyStatus = task.Result;
+                if (dependencyStatus.Equals(DependencyStatus.Available))
+                {
+                    InitializeFirebase();
+                }
+                else
+                {
+                    Debug.Log("Could not resolve all Firebase dependencis: " + dependencyStatus);
+                }
+            });
+
+
+            // loginButton.onClick.AddListener(LoginAction);
+            loginButton.onClick.AddListener(() => StartCoroutine(NewLoginAction(usernameInputField.text, passwordInputField.text)));
+            errorColor = errorText.color;
+            system = EventSystem.current;
+            usernameInputField.Select();
+            usernameInputField.gameObject.SetActive(true);
+        }
     }
 
-    private void Awake() {
-        usernameInputField.Select();
-        usernameInputField.gameObject.SetActive(true);
+    private void InitializeFirebase()
+    {
+        Debug.Log("Init firebase");
+        auth = FirebaseAuth.DefaultInstance;
     }
 
-    private void SwitchLanguage(int langId) {
+
+    private void SwitchLanguage(int langId)
+    {
         LocalizationManager.Instance.currentLanguageID = langId;
         TextLocalization[] texts = FindObjectsOfType(typeof(TextLocalization)) as TextLocalization[];
-        foreach (TextLocalization tl in texts) {
+        foreach (TextLocalization tl in texts)
+        {
             tl.UpdateText();
         }
 
         InputFieldLocalization[] inputFields = FindObjectsOfType(typeof(InputFieldLocalization)) as InputFieldLocalization[];
-        foreach (InputFieldLocalization ifl in inputFields) {
+        foreach (InputFieldLocalization ifl in inputFields)
+        {
             ifl.UpdateText();
         }
 
         ButtonLocalization[] buttonLocale = FindObjectsOfType(typeof(ButtonLocalization)) as ButtonLocalization[];
-        foreach (ButtonLocalization bl in buttonLocale) {
+        foreach (ButtonLocalization bl in buttonLocale)
+        {
             bl.UpdateText();
         }
     }
 
-    private void Update() {
+    private void Update()
+    {
         Username = usernameInputField.text;
         Password = passwordInputField.text;
 
 
-        if (Input.GetKeyDown(KeyCode.Tab)) {
+        if (Input.GetKeyDown(KeyCode.Tab))
+        {
             Selectable next = system.currentSelectedGameObject.GetComponent<Selectable>().FindSelectableOnDown();
 
-            if (next != null) {
+            if (next != null)
+            {
 
                 InputField inputfield = next.GetComponent<InputField>();
                 if (inputfield != null) inputfield.OnPointerClick(new PointerEventData(system));
@@ -90,71 +125,52 @@ public class Login : MonoBehaviour {
         }
     }
 
-    void loginAction() {
-        string errorMessage = "";
-        if (Username == "") {
-            errorMessage = LocalizationManager.Instance.GetText("REGISTER_ERROR_USERNAME_EMPTY");
-        }
-        if (Password == "") {
-            if (errorMessage != "") {
-                errorMessage += "\n";
-            }
-            errorMessage += LocalizationManager.Instance.GetText("REGISTER_ERROR_PASSWORD_EMPTY");
-        }
-
-        if (errorMessage == "") {
-            errorColor.a = 0;
-
-            StartCoroutine(loginCall());
-        } else {
-            errorText.text = errorMessage;
-            errorColor.a = 1;
-        }
-        errorText.color = errorColor;
-    }
-
 
-    IEnumerator loginCall() {
-        string postUrl = loginUrl + "name=" + UnityWebRequest.EscapeURL(Username);
-        StringBuilder sb = new StringBuilder(postUrl);
+    private IEnumerator NewLoginAction(string username, string password)
+    {
+        var LoginTask = auth.SignInWithEmailAndPasswordAsync(username, password);
 
-        FirebaseStart fs = firebaseController.GetComponent<FirebaseStart>();
+        yield return new WaitUntil(predicate: () => LoginTask.IsCompleted);
 
-        UnityWebRequest www = UnityWebRequest.Get(postUrl);
-        yield return www.SendWebRequest();
-
-        if (www.error != null) {
-            errorText.text = "There was an error logging in " + www.error;
-        }
-        string result = www.downloadHandler.text;
+        if (LoginTask.Exception != null)
+        {
+            errorColor.a = 1;
+            // There is an error, handle it
+            Debug.LogWarning(message: $"Failed to register task with {LoginTask.Exception}");
+            FirebaseException firebaseEx = LoginTask.Exception.GetBaseException() as FirebaseException;
+            AuthError errorCode = (AuthError)firebaseEx.ErrorCode;
+
+            string message = "Login failed!";
+            switch (errorCode)
+            {
+                case AuthError.MissingEmail:
+                    message = "Missing email";
+                    break;
+                case AuthError.MissingPassword:
+                    message = "Missing password";
+                    break;
+                case AuthError.WrongPassword:
+                    message = "Wrong password";
+                    break;
+                case AuthError.InvalidEmail:
+                    message = "Invalid email";
+                    break;
+                case AuthError.UserNotFound:
+                    message = "Account does not exist";
+                    break;
+            }
 
-        User u = new User();
-        if (!result.Equals("")) {
-            JsonUtility.FromJsonOverwrite(result, u);
+            errorText.text = message;
+            errorText.color = errorColor;
         }
-
-        if (u.userId != null && !u.userId.Equals("")) {
-            byte[] pwd = Encoding.UTF8.GetBytes(u.salt + Password);
-            SHA1CryptoServiceProvider sha1 = new SHA1CryptoServiceProvider();
-            string pass = Convert.ToBase64String(sha1.ComputeHash(pwd));
-            if (pass.Equals(u.pass)) {
-                errorColor.a = 0;
-                errorText.color = errorColor;
-                Int32.TryParse(u.userId, out int userId);
-                Database.Instance.SignIn(Username, userId, keepSignedIn.isOn);
-                if (fs != null && fs.MyToken != null && !fs.MyToken.Equals("")) {
-                    OnlineDatabase.Instance.UpdatePlayerToken(userId, fs.MyToken);
-                }
-                SceneManager.LoadScene("MainMenu");
-            } else {
-                errorText.text = LocalizationManager.Instance.GetText("LOGIN_WRONG_USERNAME_PASSWORD");
-                errorColor.a = 1;
-                errorText.color = errorColor;
-            }
-        } else {
-            errorText.text = LocalizationManager.Instance.GetText("LOGIN_USER_NOT_FOUND");
-            errorColor.a = 1;
+        else
+        {
+            errorText.text = "";
+            errorColor.a = 0;
             errorText.color = errorColor;
+            user = LoginTask.Result;
+
+            SceneManager.LoadScene("MainMenu");
         }
     }
 }

+ 136 - 113
Assets/Scripts/Login/Register.cs

@@ -1,162 +1,185 @@
-using System.Collections;
+using System;
+using System.Collections;
+using System.Security.Cryptography;
+using System.Text;
+using Firebase;
+using Firebase.Auth;
 using UnityEngine;
-using UnityEngine.UI;
-using UnityEngine.Networking;
 using UnityEngine.EventSystems;
+using UnityEngine.Networking;
 using UnityEngine.SceneManagement;
-using System.Security.Cryptography;
-using System.Text;
-using System;
+using UnityEngine.UI;
 
-public class Register : MonoBehaviour {
-    public GameObject username;
+public class Register : MonoBehaviour
+{
+    public GameObject passwordConfirm;
     public GameObject password;
     public GameObject email;
     public Text errorText;
 
     public Button registerButton;
 
-    private string Username;
+    private string PasswordConfirm;
     private string Password;
     private string Email;
-    private string form;
-    string salt;
 
-    private string registerUserUrl = "http://nordh.xyz/narKampen/dbFiles/Register.php?";
+    private readonly string registerUserUrl = "http://nordh.xyz/narKampen/dbFiles/Register.php?";
 
     private Color errorColor;
 
     private EventSystem system;
+    private FirebaseAuth auth;
+    private FirebaseUser user;
 
-    [SerializeField] GameObject firebaseController;
 
     // Start is called before the first frame update
-    void Start() {
-        registerButton.onClick.AddListener(RegisterAction);
+    void Awake()
+    {
+        registerButton.onClick.AddListener(() => StartCoroutine(RegisterUser(Email, Password, PasswordConfirm)));
         system = EventSystem.current;
         errorColor = errorText.color;
+
+        FirebaseApp.CheckAndFixDependenciesAsync().ContinueWith(task =>
+        {
+            DependencyStatus dependencyStatus = task.Result;
+            if (dependencyStatus.Equals(DependencyStatus.Available))
+            {
+                InitializeFirebase();
+            }
+            else
+            {
+                Debug.Log("Could not resolve all Firebase dependencis: " + dependencyStatus);
+            }
+        });
+    }
+
+    private void InitializeFirebase()
+    {
+        auth = FirebaseAuth.DefaultInstance;
     }
 
     // Update is called once per frame
-    void Update() {
-        Username = username.GetComponent<InputField>().text;
+    void Update()
+    {
         Password = password.GetComponent<InputField>().text;
+        PasswordConfirm = passwordConfirm.GetComponent<InputField>().text;
         Email = email.GetComponent<InputField>().text;
 
-        if (Input.GetKeyDown(KeyCode.Tab)) {
+        if (Input.GetKeyDown(KeyCode.Tab))
+        {
             Selectable next = system.currentSelectedGameObject.GetComponent<Selectable>().FindSelectableOnDown();
 
-            if (next != null) {
+            if (next != null)
+            {
+
+                InputField inputfield = next.GetComponent<InputField>();
+                if (inputfield != null)
+                {
+                    inputfield.OnPointerClick(new PointerEventData(system));  //if it's an input field, also set the text caret
+                }
+
+                system.SetSelectedGameObject(next.gameObject, new BaseEventData(system));
+            }
+        }
+        else if ((Input.GetKeyDown(KeyCode.LeftShift) || Input.GetKeyDown(KeyCode.RightShift)) && Input.GetKeyDown(KeyCode.Tab))
+        {
+            Selectable next = system.currentSelectedGameObject.GetComponent<Selectable>().FindSelectableOnUp();
+
+            if (next != null)
+            {
 
                 InputField inputfield = next.GetComponent<InputField>();
-                if (inputfield != null) inputfield.OnPointerClick(new PointerEventData(system));  //if it's an input field, also set the text caret
+                if (inputfield != null)
+                {
+                    inputfield.OnPointerClick(new PointerEventData(system));  //if it's an input field, also set the text caret
+                }
 
                 system.SetSelectedGameObject(next.gameObject, new BaseEventData(system));
             }
         }
     }
 
-    void RegisterAction() {
-        string errorMessage = "";
-        if (Username == "" || Username.Length < 3) {
-            errorMessage = LocalizationManager.Instance.GetText("REGISTER_ERROR_USERNAME_EMPTY");
+    private IEnumerator RegisterUser(string email, string password, string passwordConfirm)
+    {
+        Debug.Log("Starting registerUser");
+        if (email == "" || email.Equals("Email"))
+        {
+            errorText.text = LocalizationManager.Instance.GetText("REGISTER_ERROR_EMAIL_EMPTY");
         }
-        if (Password == "") {
-            if (errorMessage != "") {
-                errorMessage += "\n";
-            }
-            errorMessage += LocalizationManager.Instance.GetText("REGISTER_ERROR_PASSWORD_EMPTY");
+        else if (password != passwordConfirm)
+        {
+            errorText.text = LocalizationManager.Instance.GetText("REGISTER_ERROR_PASSWORD_DONT_MATCH");
         }
-        if (Password.Length < 6) {
-            if (errorMessage != "") {
-                errorMessage += "\n";
+        else
+        {
+            Debug.Log("Trying to register user " + Email + " password " + Password);
+
+            var RegisterTask = auth.CreateUserWithEmailAndPasswordAsync(email, password);
+
+            yield return new WaitUntil(predicate: () => RegisterTask.IsCompleted);
+
+            if (RegisterTask.Exception != null)
+            {
+                Debug.Log("EXCEPTION at regiser " + RegisterTask.Exception);
+                FirebaseException firebaseEx = RegisterTask.Exception.GetBaseException() as FirebaseException;
+                AuthError errorCode = (AuthError)firebaseEx.ErrorCode;
+
+
+                // TODO Localize message
+                string message = "Register Failed!";
+                switch (errorCode)
+                {
+                    case AuthError.MissingEmail:
+                        message = "Missing Email";
+                        break;
+                    case AuthError.MissingPassword:
+                        message = "Missing Password";
+                        break;
+                    case AuthError.WeakPassword:
+                        message = "Weak Password";
+                        break;
+                    case AuthError.EmailAlreadyInUse:
+                        message = "Email already in use";
+                        break;
+                }
+                errorText.text = message;
             }
-            errorMessage += LocalizationManager.Instance.GetText("REGISTER_ERROR_PASSWORD_TO_SHORT");
-        }
-        if (Email == "") {
-            if (errorMessage != "") {
-                errorMessage += "\n";
+            else
+            {
+                user = RegisterTask.Result;
+
+                if (user != null)
+                {
+                    UserProfile profile = new UserProfile { DisplayName = email };
+
+                    var ProfileTask = user.UpdateUserProfileAsync(profile);
+                    yield return new WaitUntil(predicate: () => ProfileTask.IsCompleted);
+
+                    if (ProfileTask.Exception != null)
+                    {
+                        FirebaseException firebaseEx = ProfileTask.Exception.GetBaseException() as FirebaseException;
+                        AuthError errorCode = (AuthError)firebaseEx.ErrorCode;
+                        errorText.text = "Email set Failed!";
+                    }
+                    else
+                    {
+
+                        // DatabaseController.Instance.InsertUser(registerUsernameTextField.text, user.UserId);
+                        errorText.text = "";
+                        SceneManager.LoadScene("MainMenu");
+                    }
+                }
             }
-            errorMessage += LocalizationManager.Instance.GetText("REGISTER_ERROR_EMAIL_EMPTY");
         }
-
-
-        if (errorMessage != "") {
-            errorText.text = errorMessage;
-            errorColor.a = 1;
-        } else {
-            errorColor.a = 0;
-            StartCoroutine(RegisterUser());
-        }
-        errorText.color = errorColor;
-    }
-
-    IEnumerator RegisterUser() {
-        // TODO register user at server, check for already in use for username and email.
-
-        // TODO - Save OS and device id
-        string deviceId = SystemInfo.deviceUniqueIdentifier;
-        string os = SystemInfo.operatingSystem;
-
-        string salt = GetSalt();
-        string password = getPassword();
-
-        string postUrl = registerUserUrl + "name=" + UnityWebRequest.EscapeURL(Username) + "&password=" + UnityWebRequest.EscapeURL(password) + "&email=" + UnityWebRequest.EscapeURL(Email) + "&s=" + UnityWebRequest.EscapeURL(salt) + "&did=" + deviceId + "&os=" + UnityWebRequest.EscapeURL(os) + "&t=";
-
-        StringBuilder sb = new StringBuilder(postUrl);
-        FirebaseStart fs = firebaseController.GetComponent<FirebaseStart>();
-
-        if (fs.MyToken != null && fs.MyToken.Length > 0) {
-            sb.Append(UnityWebRequest.EscapeURL(fs.MyToken));
-            postUrl = sb.ToString();
-        } else {
-            sb.Append("");
-        } 
-
-        UnityWebRequest www = UnityWebRequest.Get(postUrl);
-        yield return www.SendWebRequest();
-
-        if (www.error != null) {
-            errorText.text = LocalizationManager.Instance.GetText("REGISTER_ERROR_CONNECTION_FAIL");
+        if (errorText.text.Length > 0)
+        {
             errorColor.a = 1;
             errorText.color = errorColor;
-        } else {
-
-            string result = www.downloadHandler.text;
-            if (int.TryParse(www.downloadHandler.text, out int userId)) {
-                errorColor.a = 0;
-                errorText.color = errorColor;
-                Database.Instance.SignIn(Username, userId, false);
-                SceneManager.LoadScene("MainMenu");
-            } else {
-                errorText.text = LocalizationManager.Instance.GetText("REGISTER_ERROR_USER_PASS_ALREADY_IN_USE");
-                errorColor.a = 1;
-                errorText.color = errorColor;
-            }
         }
-    }
-
-    private string getPassword() {
-
-        byte[] pass;
-        salt = GetSalt();
-        byte[] pwd = Encoding.UTF8.GetBytes(salt + Password);
-        SHA1CryptoServiceProvider sha1 = new SHA1CryptoServiceProvider();
-        pass = sha1.ComputeHash(pwd);
-
-        return Convert.ToBase64String(pass);
-    }
-
-    private string GetSalt() {
-        if (this.salt == null) {
-            RNGCryptoServiceProvider rnd = new RNGCryptoServiceProvider();
-
-            int saltLength = 32;
-            byte[] slt = new byte[saltLength];
-
-            rnd.GetNonZeroBytes(slt);
-            this.salt = Convert.ToBase64String(slt);
+        else
+        {
+            errorColor.a = 0;
+            errorText.color = errorColor;
         }
-        return this.salt;
     }
 }

+ 3 - 7
Assets/Scripts/MainGame/CategoryPanel.cs

@@ -4,11 +4,9 @@ using System.Collections.Generic;
 using UnityEngine;
 using UnityEngine.UI;
 
-public class CategoryPanel : MonoBehaviour
-{
+public class CategoryPanel : MonoBehaviour {
     [Serializable]
-    public class Category
-    {
+    public class Category {
         public string name;
         public int id;
         public Color32 color;
@@ -18,11 +16,9 @@ public class CategoryPanel : MonoBehaviour
 
     [SerializeField] GameObject gameManager;
     string gameMode;
-    GameManagerScript gms;
     List<Category> categories;
     // Start is called before the first frame update
-    void Start()
-    {
+    void Start() {
         PopulatePanel();
     }
 

+ 11 - 12
Assets/Scripts/MainGame/InformationPanelScript.cs

@@ -1,12 +1,11 @@
-using System.Collections;
+using System;
+using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
-using UnityEngine.UI;
 using UnityEngine.SceneManagement;
-using System;
+using UnityEngine.UI;
 
-public class InformationPanelScript : MonoBehaviour
-{
+public class InformationPanelScript : MonoBehaviour {
     public Button quitButton;
     public Text loggedInPlayerText;
 
@@ -23,9 +22,9 @@ public class InformationPanelScript : MonoBehaviour
 
     // Start is called before the first frame update
     void Start() {
-        setButtonVisibilities();
-        quitButton.onClick.AddListener(quitButtonAction);
-        BackButton.onClick.AddListener(backButtonAction);
+        SetButtonVisibilities();
+        quitButton.onClick.AddListener(QuitButtonAction);
+        BackButton.onClick.AddListener(BackButtonAction);
         settingsButton.onClick.AddListener(OpenSettings);
         loggedInPlayerText.text = Database.Instance.GetSignedInUser().Value;
         if (logoutButton != null) {
@@ -36,7 +35,7 @@ public class InformationPanelScript : MonoBehaviour
         }
     }
 
-    private void setButtonVisibilities() {
+    private void SetButtonVisibilities() {
         settingsButton.gameObject.SetActive(settingsButtonVisible);
         quitButton.gameObject.SetActive(quitButtonVisible);
         logoutButton.gameObject.SetActive(logoutButtonVisible);
@@ -44,11 +43,11 @@ public class InformationPanelScript : MonoBehaviour
         loggedInPlayerText.gameObject.SetActive(signedInPlayerVisible);
     }
 
-    void quitButtonAction() {
+    void QuitButtonAction() {
         Application.Quit();
     }
 
-    void backButtonAction() {
+    void BackButtonAction() {
         SceneManager.LoadSceneAsync("MainMenu");
     }
 
@@ -74,7 +73,7 @@ public class InformationPanelScript : MonoBehaviour
         SceneManager.LoadSceneAsync("Settings");
     }
 
-    public Button getBackButton() {
+    public Button GetBackButton() {
         return BackButton;
     }
 }

+ 12 - 15
Assets/Scripts/MainGame/NewQuestionCardController.cs

@@ -22,38 +22,35 @@ public class NewQuestionCardController : MonoBehaviour, IPointerClickHandler {
     public bool BackClickable { get => backClickable; set => backClickable = value; }
 
     public void OnPointerClick(PointerEventData eventData) {
-        if (cardBack.activeSelf && rotateDone && BackClickable)
-        {
+        if (cardBack.activeSelf && rotateDone && BackClickable) {
             RotateCard();
         }
     }
 
-    public void RotateCard()
-    {
+    public void RotateCard() {
         StartCoroutine(Rotate(new Vector3(0, 90f, 0), 0.5f));
-        StartCoroutine(secondRotation());
-        StartCoroutine(startTimer());
+        StartCoroutine(SecondRotation());
+        StartCoroutine(StartTimer());
     }
 
-    private IEnumerator startTimer()
-    {
+    private IEnumerator StartTimer() {
         while (!rotateDone) {
             yield return new WaitForSeconds(0.1f);
         }
         GameObject.Find("GameManager").GetComponent<GameManagerScript>().StartTimer();
     }
 
-    public bool getRotationDone() {
+    public bool GetRotationDone() {
         return rotateDone;
     }
-    private IEnumerator secondRotation() {
+    private IEnumerator SecondRotation() {
         while (!rotateDone) {
             yield return new WaitForSeconds(0.1f);
         }
         cardBack.SetActive(false);
         cardFront.SetActive(true);
         transform.Rotate(0, 180, 0);
-        StartCoroutine(Rotate(new Vector3(0, 90f,0 ), 0.5f));
+        StartCoroutine(Rotate(new Vector3(0, 90f, 0), 0.5f));
     }
 
     private IEnumerator Rotate(Vector3 angle, float duration = 1.0f) {
@@ -80,7 +77,7 @@ public class NewQuestionCardController : MonoBehaviour, IPointerClickHandler {
         KeyValuePair<int, string> SignedInUser = Database.Instance.GetSignedInUser();
         string currentPlayer = GameManagerScript.GetCurrentPlayer();
 
-        resetPosition();
+        ResetPosition();
         ShowBackside();
         if (gameManager.GetComponent<GameManagerScript>().GameMode.Equals(Constants.ONLINE)) {
             if (currentPlayer.Equals(SignedInUser.Value, StringComparison.InvariantCultureIgnoreCase)) {
@@ -89,12 +86,12 @@ public class NewQuestionCardController : MonoBehaviour, IPointerClickHandler {
                 BackClickable = false;
             }
         } else {
-            BackClickable =  true;
+            BackClickable = true;
         }
-        transform.parent.GetComponent<NewQuestionsPanel>().generateNewQuestion(BackClickable);
+        transform.parent.GetComponent<NewQuestionsPanel>().GenerateNewQuestion(BackClickable);
     }
 
-    private void resetPosition() {
+    private void ResetPosition() {
         transform.SetParent(startParent.transform);
         transform.localPosition = Vector3.zero;
     }

+ 12 - 16
Assets/Scripts/MainGame/NewQuestionsPanel.cs

@@ -1,12 +1,11 @@
-using System.Collections;
+using System;
+using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
 using UnityEngine.UI;
-using System;
 
 
-public class NewQuestionsPanel : MonoBehaviour
-{
+public class NewQuestionsPanel : MonoBehaviour {
     public GameObject QuestionAnswerLine;
 
     public Text AnswerText;
@@ -23,18 +22,17 @@ public class NewQuestionsPanel : MonoBehaviour
 
     [SerializeField] GameObject gameManager;
     // Start is called before the first frame update
-    void Start()
-    {
+    void Start() {
         gameManagerScript = gameManager.GetComponent<GameManagerScript>();
         int gameId = gameManagerScript.GameId;
         string gameMode = gameManagerScript.GameMode;
         //string gameMode = Database.Instance.GetGameMode(gameId);
         string currentPlayer = Database.Instance.GetCurrentPlayer(gameId, gameMode);
 
-        if (gameMode.Equals(Constants.ONLINE) && 
-                currentPlayer.Equals(Database.Instance.GetSignedInUser().Value, StringComparison.InvariantCultureIgnoreCase ) && 
+        if (gameMode.Equals(Constants.ONLINE) &&
+                currentPlayer.Equals(Database.Instance.GetSignedInUser().Value, StringComparison.InvariantCultureIgnoreCase) &&
                 Database.Instance.GetRoundValue(gameManagerScript.GameId, gameManagerScript.GameMode) <= 1 ||
-            (gameMode.Equals(Constants.LOCAL) && 
+            (gameMode.Equals(Constants.LOCAL) &&
                 Database.Instance.GetRoundValue(gameManagerScript.GameId, gameManagerScript.GameMode) <= 1)) {
             List<NewQuestionData> usersQuestions = Database.Instance.GetPlayerQuestions(gameId, currentPlayer, gameManagerScript.GameMode);
             NewQuestionData qd = usersQuestions[0];
@@ -46,7 +44,7 @@ public class NewQuestionsPanel : MonoBehaviour
             QuestioncardBackside.GetComponent<Image>().color = qd.CategoryColor;
 
             QuestionData = qd;
-        } else if (gameMode.Equals(Constants.ONLINE) && 
+        } else if (gameMode.Equals(Constants.ONLINE) &&
                 !currentPlayer.Equals(Database.Instance.GetSignedInUser().Value, StringComparison.InvariantCultureIgnoreCase)) {
             SetNotYourTurn();
         }
@@ -57,19 +55,18 @@ public class NewQuestionsPanel : MonoBehaviour
             gameManagerScript = gameManager.GetComponent<GameManagerScript>();
         }
         if (Database.Instance.GetRoundValue(gameManagerScript.GameId, gameManagerScript.GameMode) > 1) {
-            generateNewQuestion(true);
+            GenerateNewQuestion(true);
         }
     }
 
     // Update is called once per frame
-    void Update()
-    {
+    void Update() {
         if (gameManagerScript.GameMode.Equals(Constants.ONLINE) && !GameManagerScript.GetCurrentPlayer().Equals(Database.Instance.GetSignedInUser().Value, StringComparison.InvariantCultureIgnoreCase)) {
             SetNotYourTurn();
         }
     }
 
-    public void generateNewQuestion(bool setQuestionActive) {
+    public void GenerateNewQuestion(bool setQuestionActive) {
         if (setQuestionActive) {
             AnswerLineQuestionCard[] answerLineQuestions = QuestionAnswerLine.GetComponentsInChildren<AnswerLineQuestionCard>();
             List<int> answerIds = new List<int>();
@@ -92,8 +89,7 @@ public class NewQuestionsPanel : MonoBehaviour
         }
     }
 
-    private void SetNotYourTurn()
-    {
+    private void SetNotYourTurn() {
         backCategoryText.text = LocalizationManager.Instance.GetText("NOT_YOUR_TURN");
         QuestioncardBackside.GetComponent<Image>().color = new Color(130f, 130f, 130f, 255f);
         GetComponentInChildren<Button>().interactable = false;

+ 22 - 27
Assets/Scripts/MainGame/ScrollViewScript.cs

@@ -1,19 +1,16 @@
 using System;
 using System.Collections;
 using System.Collections.Generic;
+using System.Linq;
 using UnityEngine;
 using UnityEngine.EventSystems;
 using UnityEngine.UI;
-using System.Linq;
 
 public class ScrollViewScript : MonoBehaviour {
-    private const string newQuestionAnswerLineDefault = "???? - ????";
     public GameObject answerlineQuestionPrefab;
     public Transform contentPanel;
     public Transform newQuestionsPanel;
 
-    private int newQuestionSiblingIndex;
-    private bool answeredCorrectly;
     private List<KeyValuePair<string, int>> players;
     private int gameId;
     private string gameMode;
@@ -23,7 +20,7 @@ public class ScrollViewScript : MonoBehaviour {
     GameManagerScript gameManagerScript;
     TimerScript ts;
 
-    InformationPanelScript ips;
+    readonly InformationPanelScript ips;
 
     public string currentPlayer;
 
@@ -41,7 +38,7 @@ public class ScrollViewScript : MonoBehaviour {
         statsScript.MakeBold(currentPlayer);
 
         KeyValuePair<int, string> signedInUser = Database.Instance.GetSignedInUser();
-        
+
         List<NewQuestionData> answerlineQuestions;
         if (gameMode.Equals(Constants.ONLINE)) {
             answerlineQuestions = Database.Instance.GetPlayerQuestions(gameId, signedInUser.Value, GetGameMode());
@@ -56,7 +53,7 @@ public class ScrollViewScript : MonoBehaviour {
     }
 
     private void Update() {
-        if (!sizeUpdated){
+        if (!sizeUpdated) {
             UpdateAnswerlineCardSize();
         }
     }
@@ -68,18 +65,18 @@ public class ScrollViewScript : MonoBehaviour {
         return gameMode;
     }
 
-[SerializeField] GameObject leftDropZone;
-[SerializeField] GameObject rightDropZone;
-[SerializeField] GameObject middleDropZone;
+    [SerializeField] GameObject leftDropZone;
+    [SerializeField] GameObject rightDropZone;
+    [SerializeField] GameObject middleDropZone;
     public void SetQuestionsInAnswerLine(List<NewQuestionData> questions) {
         int i = 0;
 
         RectTransform newQuestionRect = GameObject.Find("NewQuestion").GetComponent<RectTransform>();
-        GameObject ldz = Instantiate(leftDropZone,Vector2.zero, Quaternion.identity);
-        GameObject rdz = Instantiate(rightDropZone,Vector2.zero, Quaternion.identity);
+        GameObject ldz = Instantiate(leftDropZone, Vector2.zero, Quaternion.identity);
+        GameObject rdz = Instantiate(rightDropZone, Vector2.zero, Quaternion.identity);
         ldz.transform.SetParent(contentPanel);
         ldz.transform.SetSiblingIndex(i++);
-        ldz.transform.localScale = new Vector3(1,1,1);
+        ldz.transform.localScale = new Vector3(1, 1, 1);
         if (newQuestionRect.rect.width < 50f) {
             ldz.GetComponent<LayoutElement>().preferredWidth = 50f;
         } else {
@@ -91,7 +88,7 @@ public class ScrollViewScript : MonoBehaviour {
             GameObject answerLineQuestion = Instantiate(answerlineQuestionPrefab, Vector3.zero, Quaternion.identity);
             answerLineQuestion.transform.SetParent(contentPanel, false);
             answerLineQuestion.transform.SetSiblingIndex(i++);
-            answerLineQuestion.transform.localScale = new Vector3(1,1,1);
+            answerLineQuestion.transform.localScale = new Vector3(1, 1, 1);
             answerLineQuestion.GetComponent<LayoutElement>().preferredWidth = newQuestionRect.rect.width;
             answerLineQuestion.GetComponent<LayoutElement>().preferredHeight = newQuestionRect.rect.height;
 
@@ -114,15 +111,15 @@ public class ScrollViewScript : MonoBehaviour {
             GameObject mdz = Instantiate(middleDropZone, Vector3.zero, Quaternion.identity);
             mdz.transform.SetParent(contentPanel);
             mdz.transform.SetSiblingIndex(i++);
-            mdz.transform.localScale = new Vector3(1,1,1);
+            mdz.transform.localScale = new Vector3(1, 1, 1);
         }
 
-        NewDropZoneScript newDropZoneScript = contentPanel.GetChild(i-1).GetComponent<NewDropZoneScript>();
+        NewDropZoneScript newDropZoneScript = contentPanel.GetChild(i - 1).GetComponent<NewDropZoneScript>();
         Destroy(newDropZoneScript.gameObject);
 
         rdz.transform.SetParent(contentPanel);
         rdz.transform.SetSiblingIndex(i);
-        rdz.transform.localScale = new Vector3(1,1,1);
+        rdz.transform.localScale = new Vector3(1, 1, 1);
         if (newQuestionRect.rect.width < 50f) {
             rdz.GetComponent<LayoutElement>().preferredWidth = 50f;
         } else {
@@ -147,7 +144,7 @@ public class ScrollViewScript : MonoBehaviour {
 
         if (contentPanel.childCount > 0) {
             contentPanel.GetChild(0).GetComponent<LayoutElement>().preferredWidth = newQuestionRect.rect.width;
-            contentPanel.GetChild(contentPanel.childCount -1).GetComponent<LayoutElement>().preferredWidth = newQuestionRect.rect.width;
+            contentPanel.GetChild(contentPanel.childCount - 1).GetComponent<LayoutElement>().preferredWidth = newQuestionRect.rect.width;
         }
 
         if (questions.Count > 0 && questions[0].GetComponent<LayoutElement>().preferredWidth >= 0) {
@@ -156,14 +153,13 @@ public class ScrollViewScript : MonoBehaviour {
     }
 
     public int GetUnlockedQuestionCount() {
-        return contentPanel.GetComponentsInChildren<QuestionCard>().Where(q => !q.IsQuestionSafe()).ToArray().Length;;
+        return contentPanel.GetComponentsInChildren<QuestionCard>().Where(q => !q.IsQuestionSafe()).ToArray().Length; ;
     }
 
     public void SetAllQuestionsLocked(bool needsSave) {
         List<int> saveQuestions = new List<int>();
         AnswerLineQuestionCard[] answerLineQuestionCards = contentPanel.GetComponentsInChildren<AnswerLineQuestionCard>();
-        foreach (var questionCard in answerLineQuestionCards)
-        {
+        foreach (var questionCard in answerLineQuestionCards) {
             if (needsSave && !questionCard.IsQuestionSafe()) {
                 saveQuestions.Add(questionCard.QuestionId);
                 questionCard.SetQuestionSafe();
@@ -175,7 +171,7 @@ public class ScrollViewScript : MonoBehaviour {
         }
     }
 
-     public List<int> GetQuestionIdsInAnswerLine() {
+    public List<int> GetQuestionIdsInAnswerLine() {
         List<int> questionIds = new List<int>();
 
         foreach (AnswerLineQuestionCard q in contentPanel.GetComponentsInChildren<AnswerLineQuestionCard>()) {
@@ -195,9 +191,8 @@ public class ScrollViewScript : MonoBehaviour {
         int lostQuestions = 0;
         AnswerLineQuestionCard[] answerLineQuestionCards = contentPanel.GetComponentsInChildren<AnswerLineQuestionCard>();
 
-        foreach (AnswerLineQuestionCard aq in answerLineQuestionCards)
-        {
-            if (!aq.IsQuestionSafe()){
+        foreach (AnswerLineQuestionCard aq in answerLineQuestionCards) {
+            if (!aq.IsQuestionSafe()) {
                 lostQuestions++;
                 aq.transform.SetParent(null);
                 Destroy(aq);
@@ -208,7 +203,7 @@ public class ScrollViewScript : MonoBehaviour {
         statsScript.SetQuestionsInAnswerLine(currentPlayer, contentPanel.GetComponentsInChildren<AnswerLineQuestionCard>().Length);
     }
 
- 
+
 
     void TimerRunOutEvent() { // Should be moved to some gameController
         ts.StopTimer();
@@ -240,7 +235,7 @@ public class ScrollViewScript : MonoBehaviour {
                 }
             }
         }
-        
+
         GenericDialog dialog = GenericDialog.Instance();
         dialog.SetTitle(LocalizationManager.Instance.GetText("NEXT_PLAYER_DIALOG_TITLE"));
         string message = LocalizationManager.Instance.GetText("NEXT_PLAYER_DIALOG_MESSAGE");

+ 7 - 8
Assets/Scripts/MainGame/StatsScript.cs

@@ -10,11 +10,11 @@ public class StatsScript : MonoBehaviour {
 
     public GameObject statsLinePrefab;
 
-    private List<StatsLine> statLines = new List<StatsLine>();
+    private readonly List<StatsLine> statLines = new List<StatsLine>();
 
     private string roundText;
     private string questionsLostText;
-    private string gameMode;
+    private readonly string gameMode;
     private string currenPlayer;
     [SerializeField] GameObject gameManager;
     [SerializeField] GameObject answerLine;
@@ -34,13 +34,12 @@ public class StatsScript : MonoBehaviour {
         AddPlayersToStats(Database.Instance.GetPlayersForGame(gameManagerScript.GameId, gameManagerScript.GameMode));
     }
 
-    void Update()
-    {
+    void Update() {
         UpdatePlayerAnswer();
     }
 
     private void UpdatePlayerAnswer() {
-        String currentPlayerShown = answerLineInfoScript.getCurrentPlayerShown();
+        String currentPlayerShown = answerLineInfoScript.GetCurrentPlayerShown();
         int answerCount = svc.GetQuestionIdsInAnswerLine().Count;
         SetQuestionsInAnswerLine(currentPlayerShown, answerCount);
     }
@@ -65,7 +64,7 @@ public class StatsScript : MonoBehaviour {
         playerTitle.SetStatName(LocalizationManager.Instance.GetText("PLAYERS"));
         playerTitle.SetStatValue("");
         playerTitle.MakeBold();
-        playerTitle.GetComponent<RectTransform>().sizeDelta = new Vector2(playerTitle.GetComponent<RectTransform>().rect.width,50f);
+        playerTitle.GetComponent<RectTransform>().sizeDelta = new Vector2(playerTitle.GetComponent<RectTransform>().rect.width, 50f);
         playerTitle.SetLocalizationKey("PLAYERS");
 
         statLines.Add(round);
@@ -119,9 +118,9 @@ public class StatsScript : MonoBehaviour {
     public void SetQuestionsInAnswerLine(string playerName, int count) {
         foreach (StatsLine sl in statLines) {
             if (sl.GetName().Equals(playerName)) {
-                sl.SetStatValue(count) ;
+                sl.SetStatValue(count);
                 break;
-            } 
+            }
         }
     }
 

+ 5 - 8
Assets/Scripts/MainGame/TimerScript.cs

@@ -4,8 +4,7 @@ using System.Collections.Generic;
 using UnityEngine;
 using UnityEngine.UI;
 
-public class TimerScript : MonoBehaviour
-{
+public class TimerScript : MonoBehaviour {
     Image circleImage;
     Color circleColor;
     public Text timerText;
@@ -16,7 +15,7 @@ public class TimerScript : MonoBehaviour
 
     bool timerRunning = false;
 
-    Color finalColor = new Color32(130,0,16,220);
+    Color finalColor = new Color32(130, 0, 16, 220);
     Color startlColor = new Color32(16, 0, 255, 200);
 
     GameManagerScript gms;
@@ -24,12 +23,11 @@ public class TimerScript : MonoBehaviour
     TimerScript dialogTimerScript;
 
     // Start is called before the first frame update
-    void Start()
-    {
+    void Start() {
         dialogTimerScript = dialogTimer.GetComponent<TimerScript>();
         gms = GameObject.Find("GameManager").GetComponent<GameManagerScript>();
         circleImage = this.GetComponent<Image>();
-        
+
         circleColor = circleImage.color;
 
         timerText.text = time.ToString("F0");
@@ -55,8 +53,7 @@ public class TimerScript : MonoBehaviour
     }
 
     // Update is called once per frame
-    void Update()
-    {
+    void Update() {
         if (timerRunning) {
             circleColor = circleImage.color;
             if (time > 0) {

+ 75 - 47
Assets/Scripts/MainMenu.cs

@@ -1,12 +1,14 @@
 using System;
 using System.Collections;
 using System.Collections.Generic;
+using NarKampen.Assets.Scripts.Objects;
 using UnityEngine;
 using UnityEngine.Networking;
-using UnityEngine.UI;
 using UnityEngine.SceneManagement;
+using UnityEngine.UI;
 
-public class MainMenu : MonoBehaviour {
+public class MainMenu : MonoBehaviour
+{
 
     public Button startNewGameButton;
     public Button quitButton;
@@ -17,97 +19,125 @@ public class MainMenu : MonoBehaviour {
     public GameObject onlineGamePrefab;
     public GameObject finishedGamePrefab;
 
-    private int loggedInUserId;
     private DateTime lastPlayedLocal;
     private DateTime lastPlayedOnline;
 
-    private void Start() {
+    private void Start()
+    {
         startNewGameButton.onClick.AddListener(StartNewGameAction);
         quitButton.onClick.AddListener(() => { Application.Quit(); });
-        
+
         GetGames();
         UpdateOnlineGamesLists();
-        if (lastPlayedLocal > lastPlayedOnline) {
+        if (lastPlayedLocal > lastPlayedOnline)
+        {
             localGamesPanelTitle.GetComponent<GamesScrollController>().expandThis(localGamesPanelTitle.name);
-        } else {
+        }
+        else
+        {
             onlineGamesPanelTitle.GetComponent<GamesScrollController>().expandThis(onlineGamesPanelTitle.name);
         }
     }
 
 
-    private void Awake() {
+    private void Awake()
+    {
         GetGames();
         UpdateOnlineGamesLists();
-        if (lastPlayedLocal > lastPlayedOnline) {
+        if (lastPlayedLocal > lastPlayedOnline)
+        {
             localGamesPanelTitle.GetComponent<GamesScrollController>().expandThis(localGamesPanelTitle.name);
-        } else {
+        }
+        else
+        {
             onlineGamesPanelTitle.GetComponent<GamesScrollController>().expandThis(onlineGamesPanelTitle.name);
         }
     }
 
-    public void UpdateOnlineGamesLists() {
+    public void UpdateOnlineGamesLists()
+    {
         KeyValuePair<int, string> loggedInUser = Database.Instance.GetSignedInUser();
         Transform onlineGamesList = GameObject.Find("OnlineGamesList").transform;
         Transform finishedGamesList = GameObject.Find("FinishedGamesList").transform;
-        
 
-        foreach (OnlineGameScript ogs in onlineGamesList.GetComponentsInChildren<OnlineGameScript>()) {
+
+        foreach (OnlineGameScript ogs in onlineGamesList.GetComponentsInChildren<OnlineGameScript>())
+        {
             Destroy(ogs);
             Destroy(ogs.gameObject);
         }
 
         int onlineIndex = 1;
         int finishedGamesIndex = 1;
-        if (checkInternetConnection()) {
-            List<OnlineGameScript> onlineGames = OnlineDatabase.Instance.GetOnlineGames(loggedInUser.Key, loggedInUser.Value, onlineGamePrefab);
-            if (onlineGames != null) {
-                foreach (OnlineGameScript ogs in onlineGames) {
-                    DateTime.TryParse(ogs.LastPlayedDate, out DateTime onlineLastPlayedDate);
-                    if (lastPlayedOnline == null || onlineLastPlayedDate > lastPlayedOnline) {
+        if (CheckInternetConnection())
+        {
+            OnlineGames onlineGames = OnlineDatabase.Instance.NewGetOnlineGames(loggedInUser.Key, loggedInUser.Value);
+            if (onlineGames != null)
+            {
+                foreach (OnlineGame ogs in onlineGames.onlineGamesList)
+                {
+                    DateTime.TryParse(ogs.lastPlayedDate, out DateTime onlineLastPlayedDate);
+                    if (lastPlayedOnline == null || onlineLastPlayedDate > lastPlayedOnline)
+                    {
                         lastPlayedOnline = onlineLastPlayedDate;
                     }
-                    if (ogs.GameStatus.Equals("DECLINED")) {
-                        ogs.transform.SetParent(finishedGamesList, false);
-                        ogs.transform.SetSiblingIndex(finishedGamesIndex++);
-                    } else {
-                        ogs.transform.SetParent(onlineGamesList, false);
-                        ogs.transform.SetSiblingIndex(onlineIndex++);
-                    }
+
+                    // TODO behövs skapas gameObjects via instantiate så att detta kan sättas
+
+                    // if (ogs.status.Equals("DECLINED"))
+                    // {
+                    //     ogs.transform.SetParent(finishedGamesList, false);
+                    //     ogs.transform.SetSiblingIndex(finishedGamesIndex++);
+                    // }
+                    // else
+                    // {
+                    //     ogs.transform.SetParent(onlineGamesList, false);
+                    //     ogs.transform.SetSiblingIndex(onlineIndex++);
+                    // }
                 }
             }
-        } else {
+        }
+        else
+        {
             // Display no internet information
             Debug.Log("No internet");
         }
     }
 
-    private void GetGames() {
-        KeyValuePair<int, string> loggedInUser = Database.Instance.GetSignedInUser();
+    private void GetGames()
+    {
         List<LocalGameScript> localGames = Database.Instance.GetLocalGames(localGamePrefab);
         Transform localGamesList = GameObject.Find("LocalGamesList").transform;
         Transform finishedGamesList = GameObject.Find("FinishedGamesList").transform;
 
-        foreach(LocalGameScript lgs in localGamesList.GetComponentsInChildren<LocalGameScript>()) {
+        foreach (LocalGameScript lgs in localGamesList.GetComponentsInChildren<LocalGameScript>())
+        {
             Destroy(lgs);
             Destroy(lgs.gameObject);
         }
 
-        foreach (LocalGameScript lgs in finishedGamesList.GetComponentsInChildren<LocalGameScript>()) {
+        foreach (LocalGameScript lgs in finishedGamesList.GetComponentsInChildren<LocalGameScript>())
+        {
             Destroy(lgs);
             Destroy(lgs.gameObject);
         }
-       
+
         int localIndex = 1;
         int finishedIndex = 1;
-        foreach (LocalGameScript lgs in localGames) {
+        foreach (LocalGameScript lgs in localGames)
+        {
             DateTime.TryParse(lgs.LastPlayedDate, out DateTime localLastPlayedDate);
-            if (lastPlayedLocal == null || localLastPlayedDate > lastPlayedLocal) {
+            if (lastPlayedLocal == null || localLastPlayedDate > lastPlayedLocal)
+            {
                 lastPlayedLocal = localLastPlayedDate;
             }
-            if (lgs.FinishedDate.Equals("")) {
+            if (lgs.FinishedDate.Equals(""))
+            {
                 lgs.transform.SetParent(localGamesList.transform, false);
                 lgs.transform.SetSiblingIndex(localIndex++);
-            } else {
+            }
+            else
+            {
                 lgs.DestroyStartButton();
                 lgs.transform.SetParent(finishedGamesList.transform, false);
                 lgs.transform.SetSiblingIndex(finishedIndex++);
@@ -117,28 +147,26 @@ public class MainMenu : MonoBehaviour {
 
     }
 
-    private bool checkInternetConnection() {
+    private bool CheckInternetConnection()
+    {
         bool internetConnectivityActive;
         UnityWebRequest www = UnityWebRequest.Get("http://google.com");
         www.SendWebRequest();
 
-        if (www.isNetworkError || www.isHttpError) {
+        if (www.isNetworkError || www.isHttpError)
+        {
             internetConnectivityActive = false;
-        } else {
+        }
+        else
+        {
             internetConnectivityActive = true;
         }
 
         return internetConnectivityActive;
     }
 
-    private void StartNewGameAction() {
+    private void StartNewGameAction()
+    {
         SceneManager.LoadScene("NewGame");
     }
-
-    private void SetPanelVisibility(string panelName, bool isVisible) {
-        CanvasGroup panelCG= GameObject.Find(panelName).gameObject.GetComponent<CanvasGroup>();
-        panelCG.alpha = (isVisible?1f:0f);
-        panelCG.interactable = (isVisible?true:false);
-        panelCG.blocksRaycasts = (isVisible ? true : false);
-    }
 }

+ 3 - 4
Assets/Scripts/ModalPanel/BringToFront.cs

@@ -1,10 +1,9 @@
-using UnityEngine;
-using System.Collections;
+using System.Collections;
+using UnityEngine;
 
 public class BringToFront : MonoBehaviour {
 
-    void OnEnable()
-    {
+    void OnEnable() {
         transform.SetAsLastSibling();
     }
 }

+ 13 - 15
Assets/Scripts/NewGameScene/FirebaseStart.cs

@@ -1,12 +1,9 @@
 using System.Collections;
 using System.Collections.Generic;
-using Firebase;
-using Firebase.Analytics;
 using UnityEngine;
 
 public class FirebaseStart : MonoBehaviour
 {
-    private FirebaseApp app;
     private string myToken;
 
     public string MyToken { get => myToken; set => myToken = value; }
@@ -14,20 +11,21 @@ public class FirebaseStart : MonoBehaviour
     // Start is called before the first frame update
     void Start()
     {
-        Firebase.Messaging.FirebaseMessaging.TokenReceived += OnTokenReceived;
-        Firebase.Messaging.FirebaseMessaging.MessageReceived += OnMessageReceived;
     }
 
-    public void OnTokenReceived(object sender, Firebase.Messaging.TokenReceivedEventArgs token) {
-        if (!token.Token.Equals("")) {
-            MyToken = token.Token;
-            Debug.Log("Setting token to " + MyToken );
-        }
-        Debug.Log("Received Registration token: " + token.Token);
-    }
+    // public void OnTokenReceived(object sender, Firebase.Messaging.TokenReceivedEventArgs token)
+    // {
+    //     if (!token.Token.Equals(""))
+    //     {
+    //         MyToken = token.Token;
+    //         Debug.Log("Setting token to " + MyToken);
+    //     }
+    //     Debug.Log("Received Registration token: " + token.Token);
+    // }
 
-    public void OnMessageReceived(object sender, Firebase.Messaging.MessageReceivedEventArgs e) {
-        Debug.Log("Received New message from: " + e.Message.From);
+    // public void OnMessageReceived(object sender, Firebase.Messaging.MessageReceivedEventArgs e)
+    // {
+    //     Debug.Log("Received New message from: " + e.Message.From);
 
-}
+    // }
 }

+ 3 - 5
Assets/Scripts/NewGameScene/NewGamesButtonPanelScript.cs

@@ -4,8 +4,7 @@ using UnityEngine;
 using UnityEngine.SceneManagement;
 using UnityEngine.UI;
 
-public class NewGamesButtonPanelScript : MonoBehaviour
-{
+public class NewGamesButtonPanelScript : MonoBehaviour {
     private const string MainMenuSceneName = "MainMenu";
     public Button localGameButton;
     public Button onlineGameButton;
@@ -16,9 +15,8 @@ public class NewGamesButtonPanelScript : MonoBehaviour
 
     private Button backButton;
     // Start is called before the first frame update
-    void Start()
-    {
-        backButton = informationPanel.GetComponent<InformationPanelScript>().getBackButton();
+    void Start() {
+        backButton = informationPanel.GetComponent<InformationPanelScript>().GetBackButton();
         localGameButton.onClick.AddListener(ShowLocalGameSettings);
         onlineGameButton.onClick.AddListener(ShowOnlineGameSettings);
         backButton.onClick.AddListener(() => SceneManager.LoadScene(MainMenuSceneName));

+ 0 - 21
Assets/Scripts/NewGameScene/PlayerInfo.cs

@@ -1,21 +0,0 @@
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.UI;
-
-public class PlayerInfo : MonoBehaviour
-{
-    public Text nameText;
-    public Text pointsText;
-
-
-    internal void SetName(string name) {
-        nameText.text = name;
-    }
-
-    internal void SetPoints(int points) {
-        pointsText.text = points.ToString();
-    }
-
-}

+ 3 - 3
Assets/SelectCategoryScript.cs

@@ -62,7 +62,7 @@ public class SelectCategoryScript : MonoBehaviour {
     }
 
     internal int GetSelectedCategoriesQuestionCount() {
-        IEnumerable<CategorySelection> selectedCategories = ContentPanel.GetComponentsInChildren<CategorySelection>().Where(c => c.isSelected());
+        IEnumerable<CategorySelection> selectedCategories = ContentPanel.GetComponentsInChildren<CategorySelection>().Where(c => c.IsSelected());
         return selectedCategories.Sum(c => c.QuestionCount);
     }
 
@@ -79,13 +79,13 @@ public class SelectCategoryScript : MonoBehaviour {
     }
 
     private List<CategorySelection> GetSelectedCategoriesAsList() {
-        return ContentPanel.GetComponentsInChildren<CategorySelection>().Where(c => c.isSelected()).ToList();
+        return ContentPanel.GetComponentsInChildren<CategorySelection>().Where(c => c.IsSelected()).ToList();
     }
 
     public List<CategoryPanel.Category> GetSelectedCategories() {
         GetCategories();
         List<string> categoriesName = categories.Select(c1 => c1.name).ToList();
-        List<string> selectedCategoyNames = GetSelectedCategoriesAsList().Select(c2 => c2.getCategoryName()).ToList();
+        List<string> selectedCategoyNames = GetSelectedCategoriesAsList().Select(c2 => c2.GetCategoryName()).ToList();
         List<string> names = new List<string>();
         if (selectedCategoyNames.Count == 0) {
             names = categoriesName;

+ 2 - 2
Assets/StreamingAssets/google-services-desktop.json

@@ -2,7 +2,7 @@
   "project_info": {
     "project_number": "108102546370",
     "firebase_url": "https://narkampen.firebaseio.com",
-    "project_id": "narKampen",
+    "project_id": "narkampen",
     "storage_bucket": "narkampen.appspot.com"
   },
   "client": [
@@ -36,7 +36,7 @@
         "appinvite_service": {
           "other_platform_oauth_client": [
             {
-              "client_id": "108102546370-crv9k8j6892fmbchirjuqcoiia1191fm.apps.googleusercontent.com",
+              "client_id": "108102546370-2bu9lhiunhhi5v6up5dcuntnucoo5dcf.apps.googleusercontent.com",
               "client_type": 3
             }
           ]

+ 1 - 1
Assets/StreamingAssets/google-services-desktop.json.meta

@@ -1,5 +1,5 @@
 fileFormatVersion: 2
-guid: c36e37acc4418a545b9c1e830fd8405a
+guid: d8f9fd4e0eb4f2249acae5ced48749e4
 TextScriptImporter:
   externalObjects: {}
   userData: 

+ 5 - 3
Assets/Translations/ENGLISH.xml

@@ -10,10 +10,11 @@
   <text key="BEFORE">before</text>
   <text key="AFTER">after</text>
   <text key="LOGIN">Login</text>
-  <text key="USERNAME"> * Username</text>
+  <text key="USERNAME">* Username</text>
   <text key="PASSWORD">* Password</text>
+  <text key="PASSWORD_CONFIRM">* Confirm password</text>
   <text key="REGISTER">Register</text>
-  <text key="EMAIL">Email</text>
+  <text key="EMAIL">* Email</text>
   <text key="LOGOUT">Logout</text>
   <text key="QUIT">Quit</text>
   <text key="START_NEW_GAME">Start New Game</text>
@@ -72,6 +73,7 @@
   <text key="NEED_MORE_INPUT">More input needed</text>
   <text key="REGISTER_ERROR_USERNAME_EMPTY">Username is obligatory and needs to be atleast 3 characters long</text>
   <text key="REGISTER_ERROR_PASSWORD_EMPTY">Password is obligatory and needs to be atleast 6 characters long</text>
+  <text key="REGISTER_ERROR_PASSWORD_DONT_MATCH">Passwords do not match</text>
   <text key="REGISTER_ERROR_PASSWORD_TO_SHORT">Password needs to be atleast 6 characters long</text>
   <text key="REGISTER_ERROR_EMAIL_EMPTY">Email is obligatory</text>
   <text key="REGISTER_ERROR_CONNECTION_FAIL">There was an error registering this user, try again later</text>
@@ -104,7 +106,7 @@
   <text key="SELECT_CATEGORIES_BUTTON">Select categories</text>
   <text key="SELECT_CATEGORIES_DIALOG_TITLE">Select categories to play with</text>
   <text key="SELECT_CATEGORY_DIALOG_TEXT">Categoryname</text>
-  <text key="SELECT_CATEGORY_DIALOG_SELECTED_TEXT">Selected</text>  
+  <text key="SELECT_CATEGORY_DIALOG_SELECTED_TEXT">Selected</text>
   <text key="ANSWERLINE_INFO_LOCKED_QUESTIONS_TEXT">{0} have {1} locked answers</text>
   <text key="ANSWERLINE_INFO_UNLOCKED_QUESTIONS_TEXT">{0} have {1} unlocked answers, those will be lost if you answer incorrectly.</text>
   <text key="ANSWERLINE_OTHER_PLAYER">Show {0} answers</text>

+ 5 - 3
Assets/Translations/SWEDISH.xml

@@ -12,8 +12,9 @@
   <text key="LOGIN">Logga in</text>
   <text key="USERNAME">* Användarnamn</text>
   <text key="PASSWORD">* Lösenord</text>
+  <text key="PASSWORD_CONFIRM">* Bekräfta lösenord</text>
   <text key="REGISTER">Registrera användare</text>
-  <text key="EMAIL">Epost</text>
+  <text key="EMAIL">* Epost</text>
   <text key="LOGOUT">Logga ut</text>
   <text key="QUIT">Avsluta</text>
   <text key="START_NEW_GAME">Starta nytt spel</text>
@@ -73,6 +74,7 @@
   <text key="NEED_MORE_INPUT">Skriv in fler tecken</text>
   <text key="REGISTER_ERROR_USERNAME_EMPTY">Användarnamn är obligatoriskt, minst 3 tecken långt</text>
   <text key="REGISTER_ERROR_PASSWORD_EMPTY">Lösenord är obligatoriskt, minst 6 tecken långt</text>
+  <text key="REGISTER_ERROR_PASSWORD_DONT_MATCH">Lösenorden är inte lika</text>
   <text key="REGISTER_ERROR_PASSWORD_TO_SHORT">Lösenordet måste vara minst 6 tecken långt</text>
   <text key="REGISTER_ERROR_EMAIL_EMPTY">Email är obligatoriskt</text>
   <text key="REGISTER_ERROR_CONNECTION_FAIL">Något gick fel vid registrering, försök igen eller kontakta support</text>
@@ -110,10 +112,10 @@
   <text key="ANSWERLINE_INFO_UNLOCKED_QUESTIONS_TEXT">Du har {0} olåsta frågor, dessa kommer att förloras om du svarar fel.</text>
   <text key="ANSWERLINE_OTHER_PLAYER">Visa {0} svar</text>
   <text key="SELECT_CATEGORIES_TOTALS">Totalt {0} frågor valda</text>
-  
+
   <text key="GAME_OVER_MESSAGE">{0} vann spelet efter {1} rundor</text>
   <text key="GAME_OVER_TITLE">Spelet avslutat</text>
 
   <text key="PLAYER_SETTING_NAME_PLACEHOLDER">Du måste skriva in ett namn</text>
-  
+
 </Language>

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 35
Nar Kampen.csproj


+ 11 - 15
Packages/manifest.json

@@ -1,23 +1,19 @@
 {
   "dependencies": {
-    "com.google.firebase.analytics": "6.14.1",
-    "com.google.firebase.messaging": "6.14.1",
     "com.unity.2d.sprite": "1.0.0",
     "com.unity.2d.tilemap": "1.0.0",
-    "com.unity.ads": "3.4.9",
-    "com.unity.analytics": "3.3.5",
-    "com.unity.collab-proxy": "1.3.9",
-    "com.unity.ext.nunit": "1.0.0",
-    "com.unity.ide.rider": "1.2.1",
-    "com.unity.ide.visualstudio": "2.0.2",
-    "com.unity.ide.vscode": "1.2.1",
-    "com.unity.inputsystem": "1.0.0",
-    "com.unity.multiplayer-hlapi": "1.0.4",
-    "com.unity.test-framework": "1.1.16",
-    "com.unity.textmeshpro": "3.0.1",
-    "com.unity.timeline": "1.2.6",
+    "com.unity.ads": "3.7.5",
+    "com.unity.analytics": "3.6.12",
+    "com.unity.ext.nunit": "1.0.6",
+    "com.unity.ide.rider": "3.0.18",
+    "com.unity.ide.visualstudio": "2.0.17",
+    "com.unity.ide.vscode": "1.2.5",
+    "com.unity.inputsystem": "1.5.1",
+    "com.unity.test-framework": "1.3.4",
+    "com.unity.textmeshpro": "3.0.6",
+    "com.unity.timeline": "1.6.4",
     "com.unity.ugui": "1.0.0",
-    "com.unity.xr.legacyinputhelpers": "2.1.4",
+    "com.unity.xr.legacyinputhelpers": "2.1.10",
     "com.unity.modules.ai": "1.0.0",
     "com.unity.modules.androidjni": "1.0.0",
     "com.unity.modules.animation": "1.0.0",

+ 32 - 65
Packages/packages-lock.json

@@ -1,39 +1,5 @@
 {
   "dependencies": {
-    "com.google.external-dependency-manager": {
-      "version": "1.2.155",
-      "depth": 2,
-      "source": "registry",
-      "dependencies": {},
-      "url": "https://unityregistry-pa.googleapis.com"
-    },
-    "com.google.firebase.analytics": {
-      "version": "6.14.1",
-      "depth": 0,
-      "source": "registry",
-      "dependencies": {
-        "com.google.firebase.app": "6.14.1"
-      },
-      "url": "https://unityregistry-pa.googleapis.com"
-    },
-    "com.google.firebase.app": {
-      "version": "6.14.1",
-      "depth": 1,
-      "source": "registry",
-      "dependencies": {
-        "com.google.external-dependency-manager": "1.2.155"
-      },
-      "url": "https://unityregistry-pa.googleapis.com"
-    },
-    "com.google.firebase.messaging": {
-      "version": "6.14.1",
-      "depth": 0,
-      "source": "registry",
-      "dependencies": {
-        "com.google.firebase.app": "6.14.1"
-      },
-      "url": "https://unityregistry-pa.googleapis.com"
-    },
     "com.unity.2d.sprite": {
       "version": "1.0.0",
       "depth": 0,
@@ -47,7 +13,7 @@
       "dependencies": {}
     },
     "com.unity.ads": {
-      "version": "3.4.9",
+      "version": "3.7.5",
       "depth": 0,
       "source": "registry",
       "dependencies": {
@@ -56,7 +22,7 @@
       "url": "https://packages.unity.com"
     },
     "com.unity.analytics": {
-      "version": "3.3.5",
+      "version": "3.6.12",
       "depth": 0,
       "source": "registry",
       "dependencies": {
@@ -64,56 +30,44 @@
       },
       "url": "https://packages.unity.com"
     },
-    "com.unity.collab-proxy": {
-      "version": "1.3.9",
-      "depth": 0,
-      "source": "registry",
-      "dependencies": {},
-      "url": "https://packages.unity.com"
-    },
     "com.unity.ext.nunit": {
-      "version": "1.0.0",
-      "depth": 0,
+      "version": "2.0.3",
+      "depth": 1,
       "source": "registry",
       "dependencies": {},
       "url": "https://packages.unity.com"
     },
     "com.unity.ide.rider": {
-      "version": "1.2.1",
+      "version": "3.0.18",
       "depth": 0,
       "source": "registry",
       "dependencies": {
-        "com.unity.test-framework": "1.1.1"
+        "com.unity.ext.nunit": "1.0.6"
       },
       "url": "https://packages.unity.com"
     },
     "com.unity.ide.visualstudio": {
-      "version": "2.0.2",
+      "version": "2.0.17",
       "depth": 0,
       "source": "registry",
-      "dependencies": {},
+      "dependencies": {
+        "com.unity.test-framework": "1.1.9"
+      },
       "url": "https://packages.unity.com"
     },
     "com.unity.ide.vscode": {
-      "version": "1.2.1",
+      "version": "1.2.5",
       "depth": 0,
       "source": "registry",
       "dependencies": {},
       "url": "https://packages.unity.com"
     },
     "com.unity.inputsystem": {
-      "version": "1.0.0",
-      "depth": 0,
-      "source": "registry",
-      "dependencies": {},
-      "url": "https://packages.unity.com"
-    },
-    "com.unity.multiplayer-hlapi": {
-      "version": "1.0.4",
+      "version": "1.5.1",
       "depth": 0,
       "source": "registry",
       "dependencies": {
-        "nuget.mono-cecil": "0.1.5-preview"
+        "com.unity.modules.uielements": "1.0.0"
       },
       "url": "https://packages.unity.com"
     },
@@ -125,18 +79,18 @@
       "url": "https://packages.unity.com"
     },
     "com.unity.test-framework": {
-      "version": "1.1.16",
+      "version": "1.3.4",
       "depth": 0,
       "source": "registry",
       "dependencies": {
-        "com.unity.ext.nunit": "1.0.0",
+        "com.unity.ext.nunit": "2.0.3",
         "com.unity.modules.imgui": "1.0.0",
         "com.unity.modules.jsonserialize": "1.0.0"
       },
       "url": "https://packages.unity.com"
     },
     "com.unity.textmeshpro": {
-      "version": "3.0.1",
+      "version": "3.0.6",
       "depth": 0,
       "source": "registry",
       "dependencies": {
@@ -145,10 +99,15 @@
       "url": "https://packages.unity.com"
     },
     "com.unity.timeline": {
-      "version": "1.2.6",
+      "version": "1.6.4",
       "depth": 0,
       "source": "registry",
-      "dependencies": {},
+      "dependencies": {
+        "com.unity.modules.director": "1.0.0",
+        "com.unity.modules.animation": "1.0.0",
+        "com.unity.modules.audio": "1.0.0",
+        "com.unity.modules.particlesystem": "1.0.0"
+      },
       "url": "https://packages.unity.com"
     },
     "com.unity.ugui": {
@@ -161,9 +120,10 @@
       }
     },
     "com.unity.xr.legacyinputhelpers": {
-      "version": "2.1.4",
+      "version": "2.1.10",
       "depth": 0,
       "source": "registry",
+<<<<<<< Updated upstream
       "dependencies": {},
       "url": "https://packages.unity.com"
     },
@@ -174,6 +134,13 @@
       "dependencies": {
         "com.unity.nuget.mono-cecil": "1.10.1"
       }
+=======
+      "dependencies": {
+        "com.unity.modules.vr": "1.0.0",
+        "com.unity.modules.xr": "1.0.0"
+      },
+      "url": "https://packages.unity.com"
+>>>>>>> Stashed changes
     },
     "com.unity.modules.ai": {
       "version": "1.0.0",

+ 0 - 1
ProjectSettings/AudioManager.asset

@@ -13,4 +13,3 @@ AudioManager:
   m_RealVoiceCount: 32
   m_SpatializerPlugin: 
   m_DisableAudio: 0
-  m_VirtualizeEffects: 1

+ 2 - 5
ProjectSettings/DynamicsManager.asset

@@ -3,16 +3,13 @@
 --- !u!55 &1
 PhysicsManager:
   m_ObjectHideFlags: 0
-  serializedVersion: 3
+  serializedVersion: 2
   m_Gravity: {x: 0, y: -9.81, z: 0}
   m_DefaultMaterial: {fileID: 0}
   m_BounceThreshold: 2
   m_SleepThreshold: 0.005
   m_DefaultContactOffset: 0.01
-  m_DefaultSolverIterations: 6
-  m_DefaultSolverVelocityIterations: 1
-  m_QueriesHitBackfaces: 0
+  m_SolverIterationCount: 6
   m_QueriesHitTriggers: 1
   m_EnableAdaptiveForce: 0
-  m_EnablePCM: 1
   m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

+ 3 - 3
ProjectSettings/EditorBuildSettings.asset

@@ -14,10 +14,10 @@ EditorBuildSettings:
   - enabled: 1
     path: Assets/Scenes/NewGame.unity
     guid: 8ceb901998e40824699e7f316b7d67bd
-  - enabled: 1
-    path: Assets/Scenes/narKampen.unity
-    guid: 173419871896d2742a84e462fa3af7df
   - enabled: 1
     path: Assets/Scenes/Settings.unity
     guid: ebce5b95fcd20ea41b58381baa6cc020
+  - enabled: 1
+    path: Assets/Scenes/narKampen.unity
+    guid: 173419871896d2742a84e462fa3af7df
   m_configObjects: {}

+ 25 - 6
ProjectSettings/EditorSettings.asset

@@ -3,21 +3,40 @@
 --- !u!159 &1
 EditorSettings:
   m_ObjectHideFlags: 0
-  serializedVersion: 7
-  m_ExternalVersionControlSupport: Visible Meta Files
+  serializedVersion: 11
   m_SerializationMode: 2
-  m_LineEndingsForNewScripts: 2
+  m_LineEndingsForNewScripts: 1
   m_DefaultBehaviorMode: 1
   m_PrefabRegularEnvironment: {fileID: 0}
   m_PrefabUIEnvironment: {fileID: 0}
   m_SpritePackerMode: 2
   m_SpritePackerPaddingPower: 1
+  m_Bc7TextureCompressor: 0
   m_EtcTextureCompressorBehavior: 0
   m_EtcTextureFastCompressor: 2
   m_EtcTextureNormalCompressor: 2
   m_EtcTextureBestCompressor: 5
-  m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd
+  m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;asmref
   m_ProjectGenerationRootNamespace: 
-  m_CollabEditorSettings:
-    inProgressEnabled: 1
+  m_EnableTextureStreamingInEditMode: 1
   m_EnableTextureStreamingInPlayMode: 1
+  m_AsyncShaderCompilation: 1
+  m_CachingShaderPreprocessor: 1
+  m_PrefabModeAllowAutoSave: 1
+  m_EnterPlayModeOptionsEnabled: 1
+  m_EnterPlayModeOptions: 3
+  m_GameObjectNamingDigits: 1
+  m_GameObjectNamingScheme: 0
+  m_AssetNamingUsesSpace: 1
+  m_UseLegacyProbeSampleCount: 1
+  m_SerializeInlineMappingsOnOneLine: 0
+  m_DisableCookiesInLightmapper: 1
+  m_AssetPipelineMode: 1
+  m_RefreshImportMode: 0
+  m_CacheServerMode: 0
+  m_CacheServerEndpoint: 
+  m_CacheServerNamespacePrefix: default
+  m_CacheServerEnableDownload: 1
+  m_CacheServerEnableUpload: 1
+  m_CacheServerEnableAuth: 0
+  m_CacheServerEnableTls: 0

+ 2 - 56
ProjectSettings/GraphicsSettings.asset

@@ -33,12 +33,10 @@ GraphicsSettings:
   - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0}
   - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0}
   - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
-  - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
   - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
+  - {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0}
   - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
   - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
-  - {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
-  - {fileID: 16003, guid: 0000000000000000f000000000000000, type: 0}
   m_PreloadedShaders: []
   m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
     type: 0}
@@ -47,58 +45,7 @@ GraphicsSettings:
   m_TransparencySortAxis: {x: 0, y: 0, z: 1}
   m_DefaultRenderingPath: 1
   m_DefaultMobileRenderingPath: 1
-  m_TierSettings:
-  - serializedVersion: 5
-    m_BuildTarget: 7
-    m_Tier: 0
-    m_Settings:
-      standardShaderQuality: 0
-      renderingPath: 1
-      hdrMode: 2
-      realtimeGICPUUsage: 25
-      useReflectionProbeBoxProjection: 0
-      useReflectionProbeBlending: 0
-      useHDR: 0
-      useDetailNormalMap: 0
-      useCascadedShadowMaps: 0
-      prefer32BitShadowMaps: 0
-      enableLPPV: 0
-      useDitherMaskForAlphaBlendedShadows: 0
-    m_Automatic: 1
-  - serializedVersion: 5
-    m_BuildTarget: 7
-    m_Tier: 1
-    m_Settings:
-      standardShaderQuality: 1
-      renderingPath: 1
-      hdrMode: 2
-      realtimeGICPUUsage: 25
-      useReflectionProbeBoxProjection: 0
-      useReflectionProbeBlending: 0
-      useHDR: 0
-      useDetailNormalMap: 0
-      useCascadedShadowMaps: 0
-      prefer32BitShadowMaps: 0
-      enableLPPV: 0
-      useDitherMaskForAlphaBlendedShadows: 0
-    m_Automatic: 1
-  - serializedVersion: 5
-    m_BuildTarget: 7
-    m_Tier: 2
-    m_Settings:
-      standardShaderQuality: 1
-      renderingPath: 1
-      hdrMode: 2
-      realtimeGICPUUsage: 25
-      useReflectionProbeBoxProjection: 0
-      useReflectionProbeBlending: 0
-      useHDR: 0
-      useDetailNormalMap: 0
-      useCascadedShadowMaps: 0
-      prefer32BitShadowMaps: 0
-      enableLPPV: 0
-      useDitherMaskForAlphaBlendedShadows: 0
-    m_Automatic: 1
+  m_TierSettings: []
   m_LightmapStripping: 0
   m_FogStripping: 0
   m_InstancingStripping: 0
@@ -114,4 +61,3 @@ GraphicsSettings:
   m_AlbedoSwatchInfos: []
   m_LightsUseLinearIntensity: 0
   m_LightsUseColorTemperature: 0
-  m_LogWhenShaderIsCompiled: 0

+ 8 - 7
ProjectSettings/GvhProjectSettings.xml

@@ -1,8 +1,9 @@
-<projectSettings>
-  <projectSetting name="Google.IOSResolver.VerboseLoggingEnabled" value="False" />
-  <projectSetting name="Google.PackageManagerResolver.VerboseLoggingEnabled" value="False" />
-  <projectSetting name="Google.VersionHandler.VerboseLoggingEnabled" value="False" />
-  <projectSetting name="GooglePlayServices.AutoResolverEnabled" value="False" />
-  <projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" />
-  <projectSetting name="GooglePlayServices.UseJetifier" value="True" />
+<?xml version="1.0" encoding="utf-8"?>
+<projectSettings>
+  <projectSetting name="Google.IOSResolver.VerboseLoggingEnabled" value="False" />
+  <projectSetting name="Google.PackageManagerResolver.VerboseLoggingEnabled" value="False" />
+  <projectSetting name="Google.VersionHandler.VerboseLoggingEnabled" value="False" />
+  <projectSetting name="GooglePlayServices.AutoResolverEnabled" value="False" />
+  <projectSetting name="GooglePlayServices.PromptBeforeAutoResolution" value="False" />
+  <projectSetting name="GooglePlayServices.UseJetifier" value="True" />
 </projectSettings>

+ 0 - 752
ProjectSettings/InputManager.asset

@@ -293,755 +293,3 @@ InputManager:
     type: 0
     axis: 0
     joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_Primary2DAxis_Vertical
-    descriptiveName: Device joystick/touchpad horizontal motion
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.19
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 1
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_Primary2DAxis_Horizontal
-    descriptiveName: Device joystick/touchpad horizontal motion
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.19
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_Secondary2DAxis_Vertical
-    descriptiveName: Device joystick/touchpad horizontal motion.
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.19
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 17
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_Secondary2DAxis_Horizontal
-    descriptiveName: Device joystick/touchpad horizontal motion
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.19
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 16
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_Trigger
-    descriptiveName: Device trigger axis
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 8
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_Grip
-    descriptiveName: Device grip axis
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 10
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_IndexTouch
-    descriptiveName: Device index finger proximity touch axis.
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.19
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 12
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_ThumbTouch
-    descriptiveName: Device thumb proximity touch axis
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.19
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 14
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_PrimaryButton
-    descriptiveName: Device primary button
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 2
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 1000
-    dead: 0.001
-    sensitivity: 1000
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_SecondaryButton
-    descriptiveName: Device secondary button
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 3
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 1000
-    dead: 0.001
-    sensitivity: 1000
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_PrimaryTouch
-    descriptiveName: Device primary touch
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 12
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_SecondaryTouch
-    descriptiveName: Device secondary button
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 13
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_GripButton
-    descriptiveName: Device grip button
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 4
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_TriggerButton
-    descriptiveName: Device trigger button
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 14
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_MenuButton
-    descriptiveName: Device menu button
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 6
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 1000
-    dead: 0.001
-    sensitivity: 1000
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_Primary2DAxisClick
-    descriptiveName: Device stick/touchpad click
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 8
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_Primary2DAxisTouch
-    descriptiveName: Device stick/touchpad touch
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 16
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_Thumbrest
-    descriptiveName: Device thumbrest
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 18
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_IndexFinger
-    descriptiveName: Left Index Finger for a Knuckles Style controller
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 20
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_MiddleFinger
-    descriptiveName: Left Middle Finger for a Knuckles Style controller
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 22
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_RingFinger
-    descriptiveName: Left Ring Finger for a Knuckles Style controller
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 24
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Left_PinkyFinger
-    descriptiveName: Left Pinky Finger for a Knuckles Style controller
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 26
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_Primary2DAxis_Vertical
-    descriptiveName: Device joystick/touchpad horizontal motion
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.19
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 4
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_Primary2DAxis_Horizontal
-    descriptiveName: Device joystick/touchpad horizontal motion
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.19
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 3
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_Secondary2DAxis_Vertical
-    descriptiveName: Device joystick/touchpad horizontal motion.
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.19
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 19
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_Secondary2DAxis_Horizontal
-    descriptiveName: Device joystick/touchpad horizontal motion
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.19
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 18
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_Trigger
-    descriptiveName: Device trigger axis
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 9
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_Grip
-    descriptiveName: Device grip axis
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 11
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_IndexTouch
-    descriptiveName: Device index finger proximity touch axis.
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.19
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 13
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_ThumbTouch
-    descriptiveName: Device thumb proximity touch axis
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.19
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 15
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_PrimaryButton
-    descriptiveName: Device primary button
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 0
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 1000
-    dead: 0.001
-    sensitivity: 1000
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_SecondaryButton
-    descriptiveName: Device secondary button
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 1
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 1000
-    dead: 0.001
-    sensitivity: 1000
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_PrimaryTouch
-    descriptiveName: Device primary touch
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 10
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_SecondaryTouch
-    descriptiveName: Device secondary button
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 11
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_GripButton
-    descriptiveName: Device grip button
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 5
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_TriggerButton
-    descriptiveName: Device trigger button
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 15
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_MenuButton
-    descriptiveName: Device menu button
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 7
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 1000
-    dead: 0.001
-    sensitivity: 1000
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_Primary2DAxisClick
-    descriptiveName: Device stick/touchpad click
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 9
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_Primary2DAxisTouch
-    descriptiveName: Device stick/touchpad touch
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 17
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_Thumbrest
-    descriptiveName: Device thumbrest
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: joystick button 19
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0
-    sensitivity: 0.1
-    snap: 0
-    invert: 0
-    type: 0
-    axis: 0
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_IndexFinger
-    descriptiveName: Right Index Finger for a Knuckles Style controller
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 21
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_MiddleFinger
-    descriptiveName: Right Middle Finger for a Knuckles Style controller
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 23
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_RingFinger
-    descriptiveName: Right Ring Finger for a Knuckles Style controller
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 25
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Right_PinkyFinger
-    descriptiveName: Right Pinky Finger for a Knuckles Style controller
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 27
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_Combined_Trigger
-    descriptiveName: Combined Trigger
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.19
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 2
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_DPad_Vertical
-    descriptiveName: Device directional pad. These values are replicated l/r
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 6
-    joyNum: 0
-  - serializedVersion: 3
-    m_Name: XRI_DPad_Horizontal
-    descriptiveName: Device directional pad. These values are replicated l/r
-    descriptiveNegativeName: 
-    negativeButton: 
-    positiveButton: 
-    altNegativeButton: 
-    altPositiveButton: 
-    gravity: 0
-    dead: 0.001
-    sensitivity: 1
-    snap: 0
-    invert: 0
-    type: 2
-    axis: 5
-    joyNum: 0

+ 1 - 19
ProjectSettings/NavMeshAreas.asset

@@ -1,7 +1,7 @@
 %YAML 1.1
 %TAG !u! tag:unity3d.com,2011:
 --- !u!126 &1
-NavMeshProjectSettings:
+NavMeshAreas:
   m_ObjectHideFlags: 0
   serializedVersion: 2
   areas:
@@ -69,21 +69,3 @@ NavMeshProjectSettings:
     cost: 1
   - name: 
     cost: 1
-  m_LastAgentTypeID: -887442657
-  m_Settings:
-  - serializedVersion: 2
-    agentTypeID: 0
-    agentRadius: 0.5
-    agentHeight: 2
-    agentSlope: 45
-    agentClimb: 0.75
-    ledgeDropHeight: 0
-    maxJumpAcrossDistance: 0
-    minRegionArea: 2
-    manualCellSize: 0
-    cellSize: 0.16666667
-    manualTileSize: 0
-    tileSize: 256
-    accuratePlacement: 0
-  m_SettingNames:
-  - Humanoid

+ 2 - 12
ProjectSettings/Physics2DSettings.asset

@@ -3,7 +3,7 @@
 --- !u!19 &1
 Physics2DSettings:
   m_ObjectHideFlags: 0
-  serializedVersion: 3
+  serializedVersion: 2
   m_Gravity: {x: 0, y: -9.81}
   m_DefaultMaterial: {fileID: 0}
   m_VelocityIterations: 8
@@ -13,23 +13,13 @@ Physics2DSettings:
   m_MaxAngularCorrection: 8
   m_MaxTranslationSpeed: 100
   m_MaxRotationSpeed: 360
+  m_MinPenetrationForPenalty: 0.01
   m_BaumgarteScale: 0.2
   m_BaumgarteTimeOfImpactScale: 0.75
   m_TimeToSleep: 0.5
   m_LinearSleepTolerance: 0.01
   m_AngularSleepTolerance: 2
-  m_DefaultContactOffset: 0.01
   m_QueriesHitTriggers: 1
   m_QueriesStartInColliders: 1
   m_ChangeStopsCallbacks: 0
-  m_CallbacksOnDisable: 1
-  m_AlwaysShowColliders: 0
-  m_ShowColliderSleep: 1
-  m_ShowColliderContacts: 0
-  m_ShowColliderAABB: 0
-  m_ContactArrowScale: 0.2
-  m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412}
-  m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
-  m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
-  m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
   m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

+ 296 - 127
ProjectSettings/ProjectSettings.asset

@@ -3,8 +3,8 @@
 --- !u!129 &1
 PlayerSettings:
   m_ObjectHideFlags: 0
-  serializedVersion: 20
-  productGUID: 5d0f18a4388c98c4d8e652b762b36524
+  serializedVersion: 23
+  productGUID: 27da6ab36a1efc746ae5458c274c6b37
   AndroidProfiler: 0
   AndroidFilterTouchesWhenObscured: 0
   AndroidEnableSustainedPerformanceMode: 0
@@ -42,8 +42,8 @@ PlayerSettings:
   m_SplashScreenLogos: []
   m_VirtualRealitySplashScreen: {fileID: 0}
   m_HolographicTrackingLossScreen: {fileID: 0}
-  defaultScreenWidth: 1024
-  defaultScreenHeight: 768
+  defaultScreenWidth: 1920
+  defaultScreenHeight: 1080
   defaultScreenWidthWeb: 960
   defaultScreenHeightWeb: 600
   m_StereoRenderingPath: 0
@@ -56,8 +56,8 @@ PlayerSettings:
   androidShowActivityIndicatorOnLoading: -1
   iosUseCustomAppBackgroundBehavior: 0
   iosAllowHTTPDownload: 1
-  allowedAutorotateToPortrait: 0
-  allowedAutorotateToPortraitUpsideDown: 0
+  allowedAutorotateToPortrait: 1
+  allowedAutorotateToPortraitUpsideDown: 1
   allowedAutorotateToLandscapeRight: 1
   allowedAutorotateToLandscapeLeft: 1
   useOSAutorotation: 1
@@ -68,9 +68,15 @@ PlayerSettings:
   androidRenderOutsideSafeArea: 0
   androidUseSwappy: 0
   androidBlitType: 0
+  androidResizableWindow: 0
+  androidDefaultWindowWidth: 1920
+  androidDefaultWindowHeight: 1080
+  androidMinimumWindowWidth: 400
+  androidMinimumWindowHeight: 300
+  androidFullscreenMode: 1
   defaultIsNativeResolution: 1
   macRetinaSupport: 1
-  runInBackground: 0
+  runInBackground: 1
   captureSingleScreen: 0
   muteOtherAudioSources: 0
   Prepare IOS For Recording: 0
@@ -93,7 +99,7 @@ PlayerSettings:
   xboxEnableFitness: 0
   visibleInBackground: 0
   allowFullscreenSwitch: 1
-  fullscreenMode: 1
+  fullscreenMode: 3
   xboxSpeechDB: 0
   xboxEnableHeadOrientation: 0
   xboxEnableGuest: 0
@@ -107,7 +113,7 @@ PlayerSettings:
   xboxOneDisableEsram: 0
   xboxOneEnableTypeOptimization: 0
   xboxOnePresentImmediateThreshold: 0
-  switchQueueCommandMemory: 0
+  switchQueueCommandMemory: 1048576
   switchQueueControlMemory: 16384
   switchQueueComputeMemory: 262144
   switchNVNShaderPoolsGranularity: 33554432
@@ -119,68 +125,49 @@ PlayerSettings:
   stadiaTargetFramerate: 0
   vulkanNumSwapchainBuffers: 3
   vulkanEnableSetSRGBWrite: 0
+  vulkanEnablePreTransform: 0
   vulkanEnableLateAcquireNextImage: 0
+  vulkanEnableCommandBufferRecycling: 1
   m_SupportedAspectRatios:
     4:3: 1
     5:4: 1
     16:10: 1
     16:9: 1
     Others: 1
-  bundleVersion: 0.53
-  preloadedAssets:
-  - {fileID: 0}
-  - {fileID: 0}
-  - {fileID: 0}
-  - {fileID: 0}
-  - {fileID: 0}
-  - {fileID: 0}
+  bundleVersion: 2.0.0
+  preloadedAssets: []
   metroInputSource: 0
   wsaTransparentSwapchain: 0
   m_HolographicPauseOnTrackingLoss: 1
   xboxOneDisableKinectGpuReservation: 0
   xboxOneEnable7thCore: 0
   vrSettings:
-    cardboard:
-      depthFormat: 0
-      enableTransitionView: 0
-    daydream:
-      depthFormat: 0
-      useSustainedPerformanceMode: 0
-      enableVideoLayer: 0
-      useProtectedVideoMemory: 0
-      minimumSupportedHeadTracking: 0
-      maximumSupportedHeadTracking: 1
-    hololens:
-      depthFormat: 1
-      depthBufferSharingEnabled: 0
-    lumin:
-      depthFormat: 0
-      frameTiming: 2
-      enableGLCache: 0
-      glCacheMaxBlobSize: 524288
-      glCacheMaxFileSize: 8388608
-    oculus:
-      sharedDepthBuffer: 1
-      dashSupport: 1
-      lowOverheadMode: 0
-      protectedContext: 0
-      v2Signing: 1
     enable360StereoCapture: 0
   isWsaHolographicRemotingEnabled: 0
   enableFrameTimingStats: 0
+  enableOpenGLProfilerGPURecorders: 1
   useHDRDisplay: 0
   D3DHDRBitDepth: 0
   m_ColorGamuts: 00000000
   targetPixelDensity: 30
   resolutionScalingMode: 0
+  resetResolutionOnWindowResize: 0
   androidSupportedAspectRatio: 1
   androidMaxAspectRatio: 2.1
   applicationIdentifier:
     Android: se.axelnordh.narkampen
-  buildNumber: {}
-  AndroidBundleVersionCode: 25
-  AndroidMinSdkVersion: 19
-  AndroidTargetSdkVersion: 30
+    Standalone: com.gamevanilla.CCGKit
+    Tizen: com.Company.ProductName
+    iPhone: com.Company.ProductName
+    tvOS: com.Company.ProductName
+  buildNumber:
+    Standalone: 0
+    iPhone: 0
+    tvOS: 0
+  overrideDefaultApplicationIdentifier: 0
+  AndroidBundleVersionCode: 1
+  AndroidMinSdkVersion: 22
+  AndroidTargetSdkVersion: 0
   AndroidPreferredInstallLocation: 1
   aotOptions: 
   stripEngineCode: 1
@@ -231,15 +218,17 @@ PlayerSettings:
   iOSLaunchScreeniPadFillPct: 100
   iOSLaunchScreeniPadSize: 100
   iOSLaunchScreeniPadCustomXibPath: 
-  iOSUseLaunchScreenStoryboard: 0
   iOSLaunchScreenCustomStoryboardPath: 
+  iOSLaunchScreeniPadCustomStoryboardPath: 
   iOSDeviceRequirements: []
   iOSURLSchemes: []
+  macOSURLSchemes: []
   iOSBackgroundModes: 0
   iOSMetalForceHardShadows: 0
   metalEditorSupport: 1
   metalAPIValidation: 1
-  iOSRenderExtraFrameOnPause: 0
+  iOSRenderExtraFrameOnPause: 1
+  iosCopyPluginsCodeInsteadOfSymlink: 0
   appleDeveloperTeamID: 
   iOSManualSigningProvisioningProfileID: 
   tvOSManualSigningProvisioningProfileID: 
@@ -249,78 +238,149 @@ PlayerSettings:
   iOSRequireARKit: 0
   iOSAutomaticallyDetectAndAddCapabilities: 1
   appleEnableProMotion: 0
-  clonedFromGUID: 00000000000000000000000000000000
+  shaderPrecisionModel: 0
+  clonedFromGUID: 71ed409f908d14597abd7dba778391c6
   templatePackageId: 
   templateDefaultScene: 
-  AndroidTargetArchitectures: 3
+  useCustomMainManifest: 0
+  useCustomLauncherManifest: 0
+  useCustomMainGradleTemplate: 0
+  useCustomLauncherGradleManifest: 0
+  useCustomBaseGradleTemplate: 0
+  useCustomGradlePropertiesTemplate: 0
+  useCustomProguardFile: 0
+  AndroidTargetArchitectures: 5
+  AndroidTargetDevices: 0
   AndroidSplashScreenScale: 0
   androidSplashScreen: {fileID: 0}
-  AndroidKeystoreName: '{inproject}: narkampen.keystore'
-  AndroidKeyaliasName: narkampen
+  AndroidKeystoreName: '{inproject}: '
+  AndroidKeyaliasName: 
   AndroidBuildApkPerCpuArchitecture: 0
   AndroidTVCompatibility: 1
   AndroidIsGame: 1
   AndroidEnableTango: 0
   androidEnableBanner: 1
   androidUseLowAccuracyLocation: 0
-  androidUseCustomKeystore: 1
+  androidUseCustomKeystore: 0
   m_AndroidBanners:
   - width: 320
     height: 180
-    banner: {fileID: 2800000, guid: bf12e139794f4d54b9b71699c524a038, type: 3}
+    banner: {fileID: 0}
   androidGamepadSupportLevel: 0
+  chromeosInputEmulation: 1
   AndroidMinifyWithR8: 0
   AndroidMinifyRelease: 0
   AndroidMinifyDebug: 0
   AndroidValidateAppBundleSize: 1
-  AndroidAppBundleSizeToValidate: 100
+  AndroidAppBundleSizeToValidate: 150
   m_BuildTargetIcons:
   - m_BuildTarget: 
     m_Icons:
     - serializedVersion: 2
-      m_Icon: {fileID: 2800000, guid: bf12e139794f4d54b9b71699c524a038, type: 3}
+      m_Icon: {fileID: 0}
       m_Width: 128
       m_Height: 128
-      m_Kind: 0
+      m_Kind: 53523
   m_BuildTargetPlatformIcons:
-  - m_BuildTarget: Android
+  - m_BuildTarget: iPhone
     m_Icons:
-    - m_Textures:
-      - {fileID: 0}
-      m_Width: 192
-      m_Height: 192
-      m_Kind: 0
-      m_SubKind: 
-    - m_Textures:
-      - {fileID: 0}
-      m_Width: 144
-      m_Height: 144
+    - m_Textures: []
+      m_Width: 180
+      m_Height: 180
       m_Kind: 0
-      m_SubKind: 
-    - m_Textures:
-      - {fileID: 0}
-      m_Width: 96
-      m_Height: 96
+      m_SubKind: iPhone
+    - m_Textures: []
+      m_Width: 120
+      m_Height: 120
       m_Kind: 0
-      m_SubKind: 
-    - m_Textures:
-      - {fileID: 0}
-      m_Width: 72
-      m_Height: 72
+      m_SubKind: iPhone
+    - m_Textures: []
+      m_Width: 167
+      m_Height: 167
       m_Kind: 0
-      m_SubKind: 
-    - m_Textures:
-      - {fileID: 0}
-      m_Width: 48
-      m_Height: 48
+      m_SubKind: iPad
+    - m_Textures: []
+      m_Width: 152
+      m_Height: 152
       m_Kind: 0
-      m_SubKind: 
-    - m_Textures:
-      - {fileID: 0}
-      m_Width: 36
-      m_Height: 36
+      m_SubKind: iPad
+    - m_Textures: []
+      m_Width: 76
+      m_Height: 76
       m_Kind: 0
-      m_SubKind: 
+      m_SubKind: iPad
+    - m_Textures: []
+      m_Width: 120
+      m_Height: 120
+      m_Kind: 3
+      m_SubKind: iPhone
+    - m_Textures: []
+      m_Width: 80
+      m_Height: 80
+      m_Kind: 3
+      m_SubKind: iPhone
+    - m_Textures: []
+      m_Width: 80
+      m_Height: 80
+      m_Kind: 3
+      m_SubKind: iPad
+    - m_Textures: []
+      m_Width: 40
+      m_Height: 40
+      m_Kind: 3
+      m_SubKind: iPad
+    - m_Textures: []
+      m_Width: 87
+      m_Height: 87
+      m_Kind: 1
+      m_SubKind: iPhone
+    - m_Textures: []
+      m_Width: 58
+      m_Height: 58
+      m_Kind: 1
+      m_SubKind: iPhone
+    - m_Textures: []
+      m_Width: 29
+      m_Height: 29
+      m_Kind: 1
+      m_SubKind: iPhone
+    - m_Textures: []
+      m_Width: 58
+      m_Height: 58
+      m_Kind: 1
+      m_SubKind: iPad
+    - m_Textures: []
+      m_Width: 29
+      m_Height: 29
+      m_Kind: 1
+      m_SubKind: iPad
+    - m_Textures: []
+      m_Width: 60
+      m_Height: 60
+      m_Kind: 2
+      m_SubKind: iPhone
+    - m_Textures: []
+      m_Width: 40
+      m_Height: 40
+      m_Kind: 2
+      m_SubKind: iPhone
+    - m_Textures: []
+      m_Width: 40
+      m_Height: 40
+      m_Kind: 2
+      m_SubKind: iPad
+    - m_Textures: []
+      m_Width: 20
+      m_Height: 20
+      m_Kind: 2
+      m_SubKind: iPad
+    - m_Textures: []
+      m_Width: 1024
+      m_Height: 1024
+      m_Kind: 4
+      m_SubKind: App Store
+  - m_BuildTarget: Android
+    m_Icons:
     - m_Textures: []
       m_Width: 432
       m_Height: 432
@@ -351,42 +411,66 @@ PlayerSettings:
       m_Height: 81
       m_Kind: 2
       m_SubKind: 
-    - m_Textures:
-      - {fileID: 0}
+    - m_Textures: []
       m_Width: 192
       m_Height: 192
       m_Kind: 1
       m_SubKind: 
-    - m_Textures:
-      - {fileID: 0}
+    - m_Textures: []
       m_Width: 144
       m_Height: 144
       m_Kind: 1
       m_SubKind: 
-    - m_Textures:
-      - {fileID: 0}
+    - m_Textures: []
       m_Width: 96
       m_Height: 96
       m_Kind: 1
       m_SubKind: 
-    - m_Textures:
-      - {fileID: 0}
+    - m_Textures: []
       m_Width: 72
       m_Height: 72
       m_Kind: 1
       m_SubKind: 
-    - m_Textures:
-      - {fileID: 0}
+    - m_Textures: []
       m_Width: 48
       m_Height: 48
       m_Kind: 1
       m_SubKind: 
-    - m_Textures:
-      - {fileID: 0}
+    - m_Textures: []
       m_Width: 36
       m_Height: 36
       m_Kind: 1
       m_SubKind: 
+    - m_Textures: []
+      m_Width: 192
+      m_Height: 192
+      m_Kind: 0
+      m_SubKind: 
+    - m_Textures: []
+      m_Width: 144
+      m_Height: 144
+      m_Kind: 0
+      m_SubKind: 
+    - m_Textures: []
+      m_Width: 96
+      m_Height: 96
+      m_Kind: 0
+      m_SubKind: 
+    - m_Textures: []
+      m_Width: 72
+      m_Height: 72
+      m_Kind: 0
+      m_SubKind: 
+    - m_Textures: []
+      m_Width: 48
+      m_Height: 48
+      m_Kind: 0
+      m_SubKind: 
+    - m_Textures: []
+      m_Width: 36
+      m_Height: 36
+      m_Kind: 0
+      m_SubKind: 
   m_BuildTargetBatching: []
   m_BuildTargetGraphicsJobs:
   - m_BuildTarget: MacStandaloneSupport
@@ -420,13 +504,74 @@ PlayerSettings:
     m_GraphicsJobMode: 0
   - m_BuildTarget: XboxOnePlayer
     m_GraphicsJobMode: 0
-  m_BuildTargetGraphicsAPIs: []
-  m_BuildTargetVRSettings: []
+  m_BuildTargetGraphicsAPIs:
+  - m_BuildTarget: iOSSupport
+    m_APIs: 10000000
+    m_Automatic: 1
+  - m_BuildTarget: AndroidPlayer
+    m_APIs: 0b00000008000000
+    m_Automatic: 0
+  m_BuildTargetVRSettings:
+  - m_BuildTarget: Android
+    m_Enabled: 0
+    m_Devices:
+    - Oculus
+  - m_BuildTarget: Windows Store Apps
+    m_Enabled: 0
+    m_Devices: []
+  - m_BuildTarget: N3DS
+    m_Enabled: 0
+    m_Devices: []
+  - m_BuildTarget: PS3
+    m_Enabled: 0
+    m_Devices: []
+  - m_BuildTarget: PS4
+    m_Enabled: 0
+    m_Devices:
+    - PlayStationVR
+  - m_BuildTarget: PSM
+    m_Enabled: 0
+    m_Devices: []
+  - m_BuildTarget: PSP2
+    m_Enabled: 0
+    m_Devices: []
+  - m_BuildTarget: SamsungTV
+    m_Enabled: 0
+    m_Devices: []
+  - m_BuildTarget: Standalone
+    m_Enabled: 0
+    m_Devices:
+    - Oculus
+  - m_BuildTarget: Tizen
+    m_Enabled: 0
+    m_Devices: []
+  - m_BuildTarget: WebGL
+    m_Enabled: 0
+    m_Devices: []
+  - m_BuildTarget: WebPlayer
+    m_Enabled: 0
+    m_Devices: []
+  - m_BuildTarget: WiiU
+    m_Enabled: 0
+    m_Devices: []
+  - m_BuildTarget: Xbox360
+    m_Enabled: 0
+    m_Devices: []
+  - m_BuildTarget: XboxOne
+    m_Enabled: 0
+    m_Devices: []
+  - m_BuildTarget: iPhone
+    m_Enabled: 0
+    m_Devices: []
+  - m_BuildTarget: tvOS
+    m_Enabled: 0
+    m_Devices: []
   openGLRequireES31: 0
   openGLRequireES31AEP: 0
   openGLRequireES32: 0
   m_TemplateCustomTags: {}
   mobileMTRendering:
+    Android: 1
     iPhone: 1
     tvOS: 1
   m_BuildTargetGroupLightmapEncodingQuality:
@@ -436,10 +581,9 @@ PlayerSettings:
     m_EncodingQuality: 1
   - m_BuildTarget: PS4
     m_EncodingQuality: 1
-  m_BuildTargetGroupLightmapSettings:
-  - m_BuildTarget: Android
-    m_TextureStreamingEnabled: 1
-    m_TextureStreamingPriority: 0
+  m_BuildTargetGroupLightmapSettings: []
+  m_BuildTargetNormalMapEncoding: []
+  m_BuildTargetDefaultTextureCompressionFormat: []
   playModeTestRunnerEnabled: 0
   runPlayModeTestAsEditModeTest: 0
   actionOnDotNetUnhandledException: 1
@@ -449,6 +593,7 @@ PlayerSettings:
   cameraUsageDescription: 
   locationUsageDescription: 
   microphoneUsageDescription: 
+  bluetoothUsageDescription: 
   switchNMETAOverride: 
   switchNetLibKey: 
   switchSocketMemoryPoolSize: 6144
@@ -457,7 +602,8 @@ PlayerSettings:
   switchScreenResolutionBehavior: 2
   switchUseCPUProfiler: 0
   switchUseGOLDLinker: 0
-  switchApplicationID: 0x01004b9000490000
+  switchLTOSetting: 0
+  switchApplicationID: 0x0005000C10000001
   switchNSODependencies: 
   switchTitleNames_0: 
   switchTitleNames_1: 
@@ -474,6 +620,7 @@ PlayerSettings:
   switchTitleNames_12: 
   switchTitleNames_13: 
   switchTitleNames_14: 
+  switchTitleNames_15: 
   switchPublisherNames_0: 
   switchPublisherNames_1: 
   switchPublisherNames_2: 
@@ -489,6 +636,7 @@ PlayerSettings:
   switchPublisherNames_12: 
   switchPublisherNames_13: 
   switchPublisherNames_14: 
+  switchPublisherNames_15: 
   switchIcons_0: {fileID: 0}
   switchIcons_1: {fileID: 0}
   switchIcons_2: {fileID: 0}
@@ -504,6 +652,7 @@ PlayerSettings:
   switchIcons_12: {fileID: 0}
   switchIcons_13: {fileID: 0}
   switchIcons_14: {fileID: 0}
+  switchIcons_15: {fileID: 0}
   switchSmallIcons_0: {fileID: 0}
   switchSmallIcons_1: {fileID: 0}
   switchSmallIcons_2: {fileID: 0}
@@ -519,11 +668,12 @@ PlayerSettings:
   switchSmallIcons_12: {fileID: 0}
   switchSmallIcons_13: {fileID: 0}
   switchSmallIcons_14: {fileID: 0}
+  switchSmallIcons_15: {fileID: 0}
   switchManualHTML: 
   switchAccessibleURLs: 
   switchLegalInformation: 
   switchMainThreadStackSize: 1048576
-  switchPresenceGroupId: 
+  switchPresenceGroupId: 0x0005000C10000001
   switchLogoHandling: 0
   switchReleaseVersion: 0
   switchDisplayVersion: 1.0.0
@@ -535,8 +685,8 @@ PlayerSettings:
   switchUserAccountSaveDataSize: 0
   switchUserAccountSaveDataJournalSize: 0
   switchApplicationAttribute: 0
-  switchCardSpecSize: -1
-  switchCardSpecClock: -1
+  switchCardSpecSize: 4
+  switchCardSpecClock: 25
   switchRatingsMask: 0
   switchRatingsInt_0: 0
   switchRatingsInt_1: 0
@@ -551,7 +701,7 @@ PlayerSettings:
   switchRatingsInt_10: 0
   switchRatingsInt_11: 0
   switchRatingsInt_12: 0
-  switchLocalCommunicationIds_0: 
+  switchLocalCommunicationIds_0: 0x0005000C10000001
   switchLocalCommunicationIds_1: 
   switchLocalCommunicationIds_2: 
   switchLocalCommunicationIds_3: 
@@ -581,10 +731,15 @@ PlayerSettings:
   switchSocketInitializeEnabled: 1
   switchNetworkInterfaceManagerInitializeEnabled: 1
   switchPlayerConnectionEnabled: 1
+  switchUseNewStyleFilepaths: 0
+  switchUseMicroSleepForYield: 1
+  switchEnableRamDiskSupport: 0
+  switchMicroSleepForYieldTime: 25
+  switchRamDiskSpaceSize: 12
   ps4NPAgeRating: 12
   ps4NPTitleSecret: 
   ps4NPTrophyPackPath: 
-  ps4ParentalLevel: 11
+  ps4ParentalLevel: 1
   ps4ContentID: ED1633-NPXX51362_00-0000000000000000
   ps4Category: 0
   ps4MasterVersion: 01.00
@@ -651,6 +806,7 @@ PlayerSettings:
   ps4videoRecordingFeaturesUsed: 0
   ps4contentSearchFeaturesUsed: 0
   ps4CompatibilityPS5: 0
+  ps4AllowPS5Detection: 0
   ps4GPU800MHz: 1
   ps4attribEyeToEyeDistanceSettingVR: 0
   ps4IncludedModules: []
@@ -675,30 +831,38 @@ PlayerSettings:
   webGLLinkerTarget: 1
   webGLThreadsSupport: 0
   webGLDecompressionFallback: 0
-  scriptingDefineSymbols: {}
+  scriptingDefineSymbols:
+    : MIRROR;MIRROR_17_0_OR_NEWER;MIRROR_18_0_OR_NEWER;MIRROR_24_0_OR_NEWER;MIRROR_26_0_OR_NEWER;MIRROR_27_0_OR_NEWER;MIRROR_28_0_OR_NEWER;MIRROR_29_0_OR_NEWER;MIRROR_30_0_OR_NEWER;MIRROR_30_5_2_OR_NEWER;MIRROR_32_1_2_OR_NEWER;MIRROR_32_1_4_OR_NEWER;MIRROR_35_0_OR_NEWER;MIRROR_35_1_OR_NEWER;MIRROR_37_0_OR_NEWER;MIRROR_38_0_OR_NEWER;MIRROR_39_0_OR_NEWER;MIRROR_40_0_OR_NEWER;MIRROR_41_0_OR_NEWER;MIRROR_42_0_OR_NEWER;MIRROR_43_0_OR_NEWER;MIRROR_44_0_OR_NEWER;MIRROR_46_0_OR_NEWER;MIRROR_47_0_OR_NEWER;MIRROR_53_0_OR_NEWER;MIRROR_55_0_OR_NEWER;MIRROR_57_0_OR_NEWER;MIRROR_58_0_OR_NEWER;MIRROR_65_0_OR_NEWER;MIRROR_66_0_OR_NEWER
+    Android: MIRROR;MIRROR_17_0_OR_NEWER;MIRROR_18_0_OR_NEWER;MIRROR_24_0_OR_NEWER;MIRROR_26_0_OR_NEWER;MIRROR_27_0_OR_NEWER;MIRROR_28_0_OR_NEWER;MIRROR_29_0_OR_NEWER;MIRROR_30_0_OR_NEWER;MIRROR_30_5_2_OR_NEWER;MIRROR_32_1_2_OR_NEWER;MIRROR_32_1_4_OR_NEWER;MIRROR_35_0_OR_NEWER;MIRROR_35_1_OR_NEWER;MIRROR_37_0_OR_NEWER;MIRROR_38_0_OR_NEWER;MIRROR_39_0_OR_NEWER;MIRROR_40_0_OR_NEWER;MIRROR_41_0_OR_NEWER;MIRROR_42_0_OR_NEWER;MIRROR_43_0_OR_NEWER;MIRROR_44_0_OR_NEWER;MIRROR_46_0_OR_NEWER;MIRROR_47_0_OR_NEWER;MIRROR_53_0_OR_NEWER;MIRROR_55_0_OR_NEWER;MIRROR_57_0_OR_NEWER;MIRROR_58_0_OR_NEWER;MIRROR_65_0_OR_NEWER;MIRROR_66_0_OR_NEWER
+  additionalCompilerArguments: {}
   platformArchitecture: {}
   scriptingBackend:
-    Android: 1
+    Standalone: 0
+    WebGL: 1
+    WebPlayer: 0
   il2cppCompilerConfiguration: {}
   managedStrippingLevel: {}
   incrementalIl2cppBuild: {}
+  suppressCommonWarnings: 1
   allowUnsafeCode: 0
-  useDeterministicCompilation: 0
+  useDeterministicCompilation: 1
+  enableRoslynAnalyzers: 1
   additionalIl2CppArgs: 
   scriptingRuntimeVersion: 1
   gcIncremental: 0
+  assemblyVersionValidation: 1
   gcWBarrierValidation: 0
   apiCompatibilityLevelPerPlatform: {}
   m_RenderingPath: 1
   m_MobileRenderingPath: 1
-  metroPackageName: "N\xE4r Kampen"
+  metroPackageName: CCGKit
   metroPackageVersion: 
   metroCertificatePath: 
   metroCertificatePassword: 
   metroCertificateSubject: 
   metroCertificateIssuer: 
   metroCertificateNotAfter: 0000000000000000
-  metroApplicationDescription: "N\xE4r Kampen"
+  metroApplicationDescription: CCGKit
   wsaImages: {}
   metroTileShortName: 
   metroTileShowName: 0
@@ -708,16 +872,17 @@ PlayerSettings:
   metroSupportStreamingInstall: 0
   metroLastRequiredScene: 0
   metroDefaultTileSize: 1
-  metroTileForegroundText: 2
+  metroTileForegroundText: 1
   metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0}
-  metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628,
+  metroSplashScreenBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628,
     a: 1}
-  metroSplashScreenUseBackgroundColor: 0
+  metroSplashScreenUseBackgroundColor: 1
   platformCapabilities: {}
   metroTargetDeviceFamilies: {}
   metroFTAName: 
   metroFTAFileTypes: []
   metroProtocolName: 
+  vcxProjDefaultLanguage: 
   XboxOneProductId: 
   XboxOneUpdateKey: 
   XboxOneSandboxId: 
@@ -736,6 +901,7 @@ PlayerSettings:
   XboxOneCapability: []
   XboxOneGameRating: {}
   XboxOneIsContentPackage: 0
+  XboxOneEnhancedXboxCompatibilityMode: 0
   XboxOneEnableGPUVariability: 0
   XboxOneSockets: {}
   XboxOneSplashScreen: {fileID: 0}
@@ -744,16 +910,17 @@ PlayerSettings:
   XboxOneXTitleMemory: 8
   XboxOneOverrideIdentityName: 
   XboxOneOverrideIdentityPublisher: 
-  vrEditorSettings:
-    daydream:
-      daydreamIconForeground: {fileID: 0}
-      daydreamIconBackground: {fileID: 0}
+  vrEditorSettings: {}
   cloudServicesEnabled:
+    Analytics: 0
     Build: 0
     Collab: 0
     ErrorHub: 0
+    Game_Performance: 0
     Hub: 0
+    Purchasing: 0
     UNet: 1
+    Unity_Ads: 0
   luminIcon:
     m_Name: 
     m_ModelFolderPath: 
@@ -766,12 +933,14 @@ PlayerSettings:
     m_VersionCode: 1
     m_VersionName: 
   apiCompatibilityLevel: 6
+  activeInputHandler: 2
   cloudProjectId: 742a50d3-da1b-40e8-a05d-592971db0453
   framebufferDepthMemorylessMode: 0
+  qualitySettingsNames: []
   projectName: NarKampenV3
   organizationId: axelnordh
   cloudEnabled: 0
-  enableNativePlatformBackendsForNewInputSystem: 1
-  disableOldInputManagerSupport: 0
   legacyClampBlendShapeWeights: 1
+  playerDataPath: 
+  forceSRGBBlit: 1
   virtualTexturingSupportEnabled: 0

+ 2 - 2
ProjectSettings/ProjectVersion.txt

@@ -1,2 +1,2 @@
-m_EditorVersion: 2020.1.8f1
-m_EditorVersionWithRevision: 2020.1.8f1 (22e8c0b0c3ec)
+m_EditorVersion: 2021.3.9f1
+m_EditorVersionWithRevision: 2021.3.9f1 (ad3870b89536)

+ 33 - 77
ProjectSettings/QualitySettings.asset

@@ -14,11 +14,10 @@ QualitySettings:
     shadowProjection: 1
     shadowCascades: 1
     shadowDistance: 15
-    shadowNearPlaneOffset: 3
+    shadowNearPlaneOffset: 2
     shadowCascade2Split: 0.33333334
     shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
-    shadowmaskMode: 0
-    skinWeights: 1
+    blendWeights: 1
     textureQuality: 1
     anisotropicTextures: 0
     antiAliasing: 0
@@ -29,18 +28,9 @@ QualitySettings:
     vSyncCount: 0
     lodBias: 0.3
     maximumLODLevel: 0
-    streamingMipmapsActive: 0
-    streamingMipmapsAddAllCameras: 1
-    streamingMipmapsMemoryBudget: 512
-    streamingMipmapsRenderersPerFrame: 512
-    streamingMipmapsMaxLevelReduction: 2
-    streamingMipmapsMaxFileIORequests: 1024
     particleRaycastBudget: 4
     asyncUploadTimeSlice: 2
     asyncUploadBufferSize: 4
-    asyncUploadPersistentBuffer: 1
-    resolutionScalingFixedDPIFactor: 1
-    customRenderPipeline: {fileID: 0}
     excludedTargetPlatforms: []
   - serializedVersion: 2
     name: Fast
@@ -50,11 +40,10 @@ QualitySettings:
     shadowProjection: 1
     shadowCascades: 1
     shadowDistance: 20
-    shadowNearPlaneOffset: 3
+    shadowNearPlaneOffset: 2
     shadowCascade2Split: 0.33333334
     shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
-    shadowmaskMode: 0
-    skinWeights: 2
+    blendWeights: 2
     textureQuality: 0
     anisotropicTextures: 0
     antiAliasing: 0
@@ -65,18 +54,9 @@ QualitySettings:
     vSyncCount: 0
     lodBias: 0.4
     maximumLODLevel: 0
-    streamingMipmapsActive: 0
-    streamingMipmapsAddAllCameras: 1
-    streamingMipmapsMemoryBudget: 512
-    streamingMipmapsRenderersPerFrame: 512
-    streamingMipmapsMaxLevelReduction: 2
-    streamingMipmapsMaxFileIORequests: 1024
     particleRaycastBudget: 16
     asyncUploadTimeSlice: 2
     asyncUploadBufferSize: 4
-    asyncUploadPersistentBuffer: 1
-    resolutionScalingFixedDPIFactor: 1
-    customRenderPipeline: {fileID: 0}
     excludedTargetPlatforms: []
   - serializedVersion: 2
     name: Simple
@@ -86,11 +66,10 @@ QualitySettings:
     shadowProjection: 1
     shadowCascades: 1
     shadowDistance: 20
-    shadowNearPlaneOffset: 3
+    shadowNearPlaneOffset: 2
     shadowCascade2Split: 0.33333334
     shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
-    shadowmaskMode: 0
-    skinWeights: 2
+    blendWeights: 2
     textureQuality: 0
     anisotropicTextures: 1
     antiAliasing: 0
@@ -98,21 +77,12 @@ QualitySettings:
     softVegetation: 0
     realtimeReflectionProbes: 0
     billboardsFaceCameraPosition: 0
-    vSyncCount: 1
+    vSyncCount: 0
     lodBias: 0.7
     maximumLODLevel: 0
-    streamingMipmapsActive: 0
-    streamingMipmapsAddAllCameras: 1
-    streamingMipmapsMemoryBudget: 512
-    streamingMipmapsRenderersPerFrame: 512
-    streamingMipmapsMaxLevelReduction: 2
-    streamingMipmapsMaxFileIORequests: 1024
     particleRaycastBudget: 64
     asyncUploadTimeSlice: 2
     asyncUploadBufferSize: 4
-    asyncUploadPersistentBuffer: 1
-    resolutionScalingFixedDPIFactor: 1
-    customRenderPipeline: {fileID: 0}
     excludedTargetPlatforms: []
   - serializedVersion: 2
     name: Good
@@ -122,11 +92,10 @@ QualitySettings:
     shadowProjection: 1
     shadowCascades: 2
     shadowDistance: 40
-    shadowNearPlaneOffset: 3
+    shadowNearPlaneOffset: 2
     shadowCascade2Split: 0.33333334
     shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
-    shadowmaskMode: 1
-    skinWeights: 2
+    blendWeights: 2
     textureQuality: 0
     anisotropicTextures: 1
     antiAliasing: 0
@@ -137,18 +106,9 @@ QualitySettings:
     vSyncCount: 1
     lodBias: 1
     maximumLODLevel: 0
-    streamingMipmapsActive: 0
-    streamingMipmapsAddAllCameras: 1
-    streamingMipmapsMemoryBudget: 512
-    streamingMipmapsRenderersPerFrame: 512
-    streamingMipmapsMaxLevelReduction: 2
-    streamingMipmapsMaxFileIORequests: 1024
     particleRaycastBudget: 256
     asyncUploadTimeSlice: 2
     asyncUploadBufferSize: 4
-    asyncUploadPersistentBuffer: 1
-    resolutionScalingFixedDPIFactor: 1
-    customRenderPipeline: {fileID: 0}
     excludedTargetPlatforms: []
   - serializedVersion: 2
     name: Beautiful
@@ -158,11 +118,10 @@ QualitySettings:
     shadowProjection: 1
     shadowCascades: 2
     shadowDistance: 70
-    shadowNearPlaneOffset: 3
+    shadowNearPlaneOffset: 2
     shadowCascade2Split: 0.33333334
     shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
-    shadowmaskMode: 1
-    skinWeights: 4
+    blendWeights: 4
     textureQuality: 0
     anisotropicTextures: 2
     antiAliasing: 2
@@ -173,18 +132,9 @@ QualitySettings:
     vSyncCount: 1
     lodBias: 1.5
     maximumLODLevel: 0
-    streamingMipmapsActive: 0
-    streamingMipmapsAddAllCameras: 1
-    streamingMipmapsMemoryBudget: 512
-    streamingMipmapsRenderersPerFrame: 512
-    streamingMipmapsMaxLevelReduction: 2
-    streamingMipmapsMaxFileIORequests: 1024
     particleRaycastBudget: 1024
     asyncUploadTimeSlice: 2
     asyncUploadBufferSize: 4
-    asyncUploadPersistentBuffer: 1
-    resolutionScalingFixedDPIFactor: 1
-    customRenderPipeline: {fileID: 0}
     excludedTargetPlatforms: []
   - serializedVersion: 2
     name: Fantastic
@@ -194,11 +144,10 @@ QualitySettings:
     shadowProjection: 1
     shadowCascades: 4
     shadowDistance: 150
-    shadowNearPlaneOffset: 3
+    shadowNearPlaneOffset: 2
     shadowCascade2Split: 0.33333334
     shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
-    shadowmaskMode: 1
-    skinWeights: 4
+    blendWeights: 4
     textureQuality: 0
     anisotropicTextures: 2
     antiAliasing: 2
@@ -209,21 +158,28 @@ QualitySettings:
     vSyncCount: 1
     lodBias: 2
     maximumLODLevel: 0
-    streamingMipmapsActive: 0
-    streamingMipmapsAddAllCameras: 1
-    streamingMipmapsMemoryBudget: 512
-    streamingMipmapsRenderersPerFrame: 512
-    streamingMipmapsMaxLevelReduction: 2
-    streamingMipmapsMaxFileIORequests: 1024
     particleRaycastBudget: 4096
     asyncUploadTimeSlice: 2
     asyncUploadBufferSize: 4
-    asyncUploadPersistentBuffer: 1
-    resolutionScalingFixedDPIFactor: 1
-    customRenderPipeline: {fileID: 0}
     excludedTargetPlatforms: []
   m_PerPlatformDefaultQuality:
-    Android: 0
-    Standalone: 0
-    WebGL: 0
-    iPhone: 0
+    Android: 2
+    BlackBerry: 2
+    GLES Emulation: 5
+    Nintendo 3DS: 5
+    PS3: 5
+    PS4: 5
+    PSM: 5
+    PSP2: 2
+    Samsung TV: 2
+    Standalone: 5
+    Tizen: 2
+    WP8: 5
+    Web: 5
+    WebGL: 3
+    WiiU: 5
+    Windows Store Apps: 5
+    XBOX360: 5
+    XboxOne: 5
+    iPhone: 2
+    tvOS: 5

+ 23 - 7
ProjectSettings/TagManager.asset

@@ -4,13 +4,8 @@
 TagManager:
   serializedVersion: 2
   tags:
-  - Question
-  - Answer
-  - AnswerText
-  - AnswerLine
-  - ConfirmAnswerDialogTag
-  - Root
-  - GamesPanelContent
+  - PlayerOwned
+  - OpponentOwned
   layers:
   - Default
   - TransparentFX
@@ -48,3 +43,24 @@ TagManager:
   - name: Default
     uniqueID: 0
     locked: 0
+  - name: Board
+    uniqueID: 4206570519
+    locked: 0
+  - name: Battlefield
+    uniqueID: 671583717
+    locked: 0
+  - name: BoardUI
+    uniqueID: 569613683
+    locked: 0
+  - name: BoardCards
+    uniqueID: 3017639489
+    locked: 0
+  - name: HandCards
+    uniqueID: 3794351331
+    locked: 0
+  - name: Foreground
+    uniqueID: 2546685719
+    locked: 0
+  - name: GameUI
+    uniqueID: 540465013
+    locked: 0

+ 0 - 1
ProjectSettings/TimeManager.asset

@@ -6,4 +6,3 @@ TimeManager:
   Fixed Timestep: 0.02
   Maximum Allowed Timestep: 0.33333334
   m_TimeScale: 1
-  Maximum Particle Timestep: 0.03

+ 3 - 2
ProjectSettings/UnityConnectSettings.asset

@@ -9,6 +9,7 @@ UnityConnectSettings:
   m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
   m_EventUrl: https://cdp.cloud.unity3d.com/v1/events
   m_ConfigUrl: https://config.uca.cloud.unity3d.com
+  m_DashboardUrl: https://dashboard.unity3d.com
   m_TestInitMode: 0
   CrashReportingSettings:
     m_EventUrl: https://perf-events.cloud.unity3d.com
@@ -19,12 +20,12 @@ UnityConnectSettings:
     m_Enabled: 0
     m_TestMode: 0
   UnityAnalyticsSettings:
-    m_Enabled: 1
+    m_Enabled: 0
     m_TestMode: 0
     m_InitializeOnStartup: 1
   UnityAdsSettings:
     m_Enabled: 0
-    m_InitializeOnStartup: 1
+    m_InitializeOnStartup: 0
     m_TestMode: 0
     m_IosGameId: 
     m_AndroidGameId: 

BIN
ProjectSettings/VersionControlSettings.asset


BIN
UserSettings/EditorUserSettings.asset


+ 269 - 1
dbFiles/OnlineGames.php

@@ -1,5 +1,6 @@
 <?php
 /* Games.php */
+<<<<<<< Updated upstream
 	$hostname = 'nordh.xyz';
 	$username = 'narKampen';
 	$pass = '9Bq.6[AcTc2ADwN-';
@@ -245,4 +246,271 @@
 
 	$conn->close();
 
-?>
+?>
+=======
+$hostname = 'localhost';
+$username = 'narKampen';
+$pass = 'IfRLzj2HJBXA9eei';
+$database = 'narKampen';
+
+$conn = new mysqli($hostname, $username, $pass, $database);
+if (!$conn) {
+    die('Connection Failed. ' . mysqli_connect_error());
+}
+mysqli_set_charset($conn, 'utf8');
+
+$userId = $conn->real_escape_string(
+    isset($_POST['userId']) ? $_POST['userId'] : ''
+);
+$callFunction = $conn->real_escape_string(
+    isset($_POST['f']) ? $_POST['f'] : ''
+);
+$gameId = $conn->real_escape_string(
+    isset($_POST['GameId']) ? $_POST['GameId'] : ''
+);
+$userName = $conn->real_escape_string(
+    isset($_POST['userName']) ? $_POST['userName'] : ''
+);
+$userId = $conn
+    ->query("SELECT id FROM users where username = '$userName'")
+    ->fetch_assoc()['id'];
+
+if ($callFunction === 'list') {
+    $sql =
+        'SELECT game.*, users.id as userId, users.username as username, gamePlayers.userLockedQuestions, gamePlayers.status playerStatus, gamePlayers.playerRound FROM game ' .
+        'INNER JOIN gamePlayers ON gamePlayers.gameId = game.id ' .
+        'INNER JOIN users ON users.id = playerId ' .
+        "WHERE game.id IN (SELECT gameId FROM gamePlayers WHERE playerId = $userId) " .
+        "AND game.status NOT IN ('FINISHED') " .
+        "ORDER BY FIELD(currentPlayer, $userId) DESC, lastPlayedDate DESC";
+    $result = $conn->query($sql);
+
+    if ($result->num_rows > 0) {
+        $returnArray = [];
+        $i = 0;
+        while ($data = $result->fetch_assoc()) {
+            foreach ($data as $key => $value) {
+                $returnArray[$i][$key] = $value;
+            }
+            $i++;
+        }
+        echo json_encode($returnArray);
+    } else {
+        echo 'No games found for user';
+    }
+} elseif ($callFunction === 'decline') {
+    $sql = "UPDATE gamePlayers SET status = 'DECLINED' WHERE gameId = $gameId AND playerId = (SELECT id from users WHERE username = '$userName')";
+    $result = $conn->query($sql);
+    if (!$result) {
+        echo 'UPDATE player status failed ' . $conn->error;
+    } else {
+        $sql = "SELECT count(*) as c FROM gamePlayers WHERE gameId = $gameId AND status NOT LIKE 'DECLINED'";
+        $result = $conn->query($sql);
+        if ($result !== false) {
+            while ($data = $result->fetch_assoc()) {
+                if ($data['c'] == 1) {
+                    // Alla utom den som startade spelet har nekat, ta bort spelet från game
+                    $sql = "DELETE FROM game WHERE id = $gameId";
+                    $result = $conn->query($sql);
+                    if (!$result) {
+                        echo 'UPDATE game status failed ' . $conn->error;
+                    }
+                }
+            }
+        }
+    }
+} elseif ($callFunction === 'accept') {
+    $sql = "UPDATE gamePlayers SET status = 'ACCEPTED' WHERE gameId = $gameId AND playerId = $userId";
+    $result = $conn->query($sql);
+    if (!$result) {
+        echo $conn->error;
+    } else {
+        $sql = "SELECT * FROM gamePlayers WHERE gameId = $gameId";
+        $result = $conn->query($sql);
+        $done = true;
+        $playerIds = [];
+        while ($data = $result->fetch_assoc()) {
+            if ($data['status'] != 'ACCEPTED') {
+                $done = false;
+            } else {
+                $playerIds[] = $data['playerId'];
+            }
+        }
+        if ($done) {
+            $sql = "UPDATE game SET status = 'ACTIVE' WHERE id = $gameId";
+            $result = $conn->query($sql);
+            if (!$result) {
+                echo 'updating game status active failed ' . $conn->error;
+            }
+
+            $questionSql =
+                'SELECT id FROM questions ' .
+                'INNER JOIN questionToCategory ON questionToCategory.questionId = questions.id ' .
+                "WHERE questionToCategory.categoryId IN (SELECT categoryId FROM `gameCategories` where gameId = $gameId) " .
+                'ORDER BY RAND() ' .
+                'LIMIT 1';
+            $questionIdResult = $conn->query($questionSql);
+            $data = $questionIdResult->fetch_assoc();
+            $values = '';
+            foreach ($playerIds as $playerId) {
+                $values .= "($gameId, $playerId, " . $data['id'] . '),';
+            }
+            $values = rtrim($values, ',');
+            $insertRandomStartQuestion = "INSERT INTO usersLockedQuestions (gameId, playerId, questionId) VALUES $values";
+            $result = $conn->query($insertRandomStartQuestion);
+            if (!$result) {
+                echo 'Something wrong with inserting starting question error: ' .
+                    $conn->error;
+            }
+        }
+    }
+} elseif ($callFunction === 'SetLastPlayed') {
+    $sql = "UPDATE game SET lastPlayedDate = NOW() WHERE id = $gameId";
+    $result = $conn->query($sql);
+    if (!$result) {
+        echo 'Updating lastPlayedDate failed ' . $conn->error;
+    }
+} elseif ($callFunction === 'SetQuestionsLost') {
+    $questionsLost = $_POST['questionsLost'];
+    $sql = "UPDATE gamePlayers SET questionsLost = $questionsLost WHERE gameId = $gameId AND playerId = $userId";
+    $result = $conn->query($sql);
+    if (!$result) {
+        echo 'Updating questionsLost resulted in error: ' . $conn->error;
+    }
+} elseif ($callFunction === 'DeleteGame') {
+    $sql = "DELETE FROM game WHERE id = $gameId";
+    $result = $conn->query($sql);
+    if (!$result) {
+        echo "Failed to delete game with id $gameId - error: " . $conn->error;
+    }
+
+    $sql = "DELETE FROM gamePlayers WHERE gameId = $gameId";
+    $result = $conn->query($sql);
+    if (!$result) {
+        echo "Failed to delete gamePlayers with id $gameId - error: " .
+            $conn->error;
+    }
+} elseif ($callFunction === 'CurrentPlayer') {
+    $sql = "SELECT username from users WHERE id = (SELECT currentPlayer FROM game WHERE id = $gameId)";
+    $result = $conn->query($sql);
+    if (!$result) {
+        echo "Failed to get current player for game with id $gameId";
+    } else {
+        if ($result->num_rows > 0) {
+            $returnArray = [];
+            $i = 0;
+            while ($data = $result->fetch_assoc()) {
+                $currentPlayer = $data['username'];
+            }
+            echo $currentPlayer;
+        }
+    }
+} elseif ($callFunction === 'SetCurrentPlayer') {
+    $currentPlayer = $_POST['userName'];
+    $sql = "UPDATE game SET currentPlayer = $userId WHERE id = $gameId";
+    $result = $conn->query($sql);
+    if (!$result) {
+        echo "Failed to update current player for game with id $gameId - error: " .
+            $conn->error;
+    }
+} elseif ($callFunction === 'GetPlayerPoints') {
+    $sql = "SELECT userLockedQuestions FROM game WHERE gameId = $gameId AND playerId = $userId";
+    $result = $conn->query($sql);
+    $data = $result->fetch_assoc();
+
+    echo $data['userLockedQuestions'];
+} elseif ($callFunction === 'SetFinishedDate') {
+    $finishedDate = $_POST['finishedDate'];
+    $sql = "UPDATE game SET finishedDate = '$finishedDate' WHERE id = $gameId";
+    $result = $conn->query($sql);
+    if (!$result) {
+        echo "Failed to update current player for game with id $gameId - error: " .
+            $conn->error;
+    }
+} elseif ($callFunction === 'SetRound') {
+    $round = $_POST['round'];
+    $sql = "UPDATE game SET round = '$round' WHERE id = $gameId";
+    $result = $conn->query($sql);
+    if (!$result) {
+        echo "Failed to update current player for game with id $gameId - error: " .
+            $conn->error;
+    }
+} elseif ($callFunction === 'SetPlayerRound') {
+    $player = $_POST['player'];
+    $sql =
+        "UPDATE gamePlayers SET playerRound = playerRound + 1 WHERE playerId = (Select id FROM users WHERE username = '" .
+        $player .
+        "' AND gameId = $gameId";
+    $conn->query($sql);
+} elseif ($callFunction === 'GetRound') {
+    $sql = "SELECT round FROM game WHERE id = $gameId";
+    $result = $conn->query($sql);
+    $data = $result->fetch_assoc();
+
+    echo $data['round'];
+} elseif ($callFunction === 'GetPlayers') {
+    $sql = "SELECT username, userLockedQuestions, playerRound FROM gamePlayers INNER JOIN users ON users.id = gamePlayers.playerId WHERE gameId = $gameId";
+    $result = $conn->query($sql);
+    $returnArray = [];
+    $i = 0;
+    while ($data = $result->fetch_assoc()) {
+        foreach ($data as $key => $value) {
+            $returnArray[$i][$key] = $value;
+        }
+        $i++;
+    }
+    echo json_encode($returnArray);
+} elseif ($callFunction === 'GetQuestionsLost') {
+    $userName = $conn->real_escape_string($_POST['userName']);
+    $sql = "SELECT questionsLost FROM gamePlayers WHERE gameId = $gameId AND playerId = $userId";
+    $result = $conn->query($sql);
+    $data = $result->fetch_assoc();
+
+    echo $data['questionsLost'];
+} elseif ($callFunction === 'GetWinCondition') {
+    $sql = "SELECT winNumber FROM game WHERE id = $gameId";
+    $result = $conn->query($sql);
+    $data = $result->fetch_assoc();
+
+    echo $data['winNumber'];
+} elseif ($callFunction === 'SavePlayerQuestions') {
+    $userName = $conn->real_escape_string($_POST['userName']);
+
+    $questionIds = $conn->real_escape_string($_POST['questionsToSave']);
+    $questionIdArray = explode(',', $questionIds);
+    $values = '';
+    foreach ($questionIdArray as $qId) {
+        $values .= "($userId, $qId, $gameId),";
+    }
+    $values = rtrim($values, ',');
+    $sql = "INSERT INTO usersLockedQuestions (playerId, questionId, gameId) VALUES $values ON DUPLICATE KEY UPDATE playerId = '$userId', gameId = $gameId";
+    $result = $conn->query($sql);
+    if (!$result) {
+        echo "ERROR while svaing player questions for game $gameId and player $userName, id $userId with error " .
+            $conn->error .
+            " from sql $sql";
+    }
+
+    $sql = "UPDATE gamePlayers SET userLockedQuestions = (SELECT count(*) FROM usersLockedQuestions WHERE gameId = $gameId AND playerId = '$userId') WHERE playerId = (SELECT id FROM users WHERE username = '$userName' AND gameId = $gameId)";
+    $conn->query($sql);
+} elseif ($callFunction === 'UpdatePlayerToken') {
+    $messageToken = $_POST['token'];
+    $userId = $_POST['userId'];
+    $updateTokenSql =
+        "UPDATE users SET messageToken = '$messageToken' WHERE id = " . $userId;
+    $conn->query($updateTokenSql);
+} elseif ($callFunction === 'GameFinished') {
+    $setFinishedStatusSql = "UPDATE game SET status = 'FINISHED' WHERE id = $gameId";
+
+    $conn->query($setFinishedStatusSql);
+} elseif ($callFunction === 'IncreasePlayerRound') {
+    $playerName = $_POST['player'];
+
+    $sql = "UPDATE gamePlayers SET playerRound = playerRound + 1 WHERE gameId = $gameId AND playerId = (SELECT id FROM users WHERE username = '$playerName'";
+    $conn->query($sql);
+}
+
+$conn->close();
+
+?>
+>>>>>>> Stashed changes

+ 1 - 1
sonar-project.properties

@@ -1,6 +1,6 @@
 sonar.projectKey=narKampen
 sonar.projectName=narKampen
-sonar.login = 6e98aad9ad84f310e7540e7c736e4307a39e5b21
+sonar.login=60ee04e339236ab586302b761e38f7c9b1ea8d99
 sonar.projectVersion=1.0
 sonar.sources=src
 sonar.exclusions=node_modules/**,src/environments/**,**/*.spec.ts,dist/**,**/docs/**,**/*.js,e2e/**,coverage/**,TLH-distributions/**,src/bsb-theme/css/**

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.