Axel Nordh 4 жил өмнө
parent
commit
0f1086392a

+ 7 - 3
Assets/GameManagerScript.cs

@@ -15,9 +15,6 @@ public class GameManagerScript : MonoBehaviour {
 
     private void Start() {
         instance = this;
-        /*
-        This is a block comment that sonar lint should report me to remove
-        */
     }
 
     private void Awake() {
@@ -33,6 +30,13 @@ public class GameManagerScript : MonoBehaviour {
         return cam;
     }
 
+    public void stupidSonarTest() {
+        int a = 2;
+        if (!(a == 2)) {
+            a = 0;
+        }
+    }
+
     public CinemachineTargetGroup getGridTargetGroup() {
         return gridManager.getTargetGroup();
     }