Browse Source

Try fix some exceptions

Nick Steyer 1 year ago
parent
commit
2812da7851
3 changed files with 9 additions and 6 deletions
  1. 1 1
      Assets/Bumper.cs
  2. 6 2
      Assets/Scenes/Pong.unity
  3. 2 3
      ProjectSettings/ProjectSettings.asset

+ 1 - 1
Assets/Bumper.cs

@@ -22,7 +22,7 @@ public class Bumper : MonoBehaviour
         }
         else
         {
-            transform.Translate(0f, Input.GetAxis("Vertical2") * speed * Time.deltaTime, 0f);
+            //transform.Translate(0f, Input.GetAxis("Vertical2") * speed * Time.deltaTime, 0f);
         }
     }
 }

+ 6 - 2
Assets/Scenes/Pong.unity

@@ -272,6 +272,10 @@ PrefabInstance:
       propertyPath: m_Name
       value: ZED_Rig_Mono
       objectReference: {fileID: 0}
+    - target: {fileID: 1215292335019620, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
+      propertyPath: m_IsActive
+      value: 1
+      objectReference: {fileID: 0}
     - target: {fileID: 1795562263255876, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
       propertyPath: m_TagString
       value: Untagged
@@ -334,11 +338,11 @@ PrefabInstance:
       objectReference: {fileID: 0}
     - target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
       propertyPath: svoLoopBack
-      value: 0
+      value: 1
       objectReference: {fileID: 0}
     - target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
       propertyPath: svoRealTimeMode
-      value: 1
+      value: 0
       objectReference: {fileID: 0}
     - target: {fileID: 114491592745282986, guid: 76db3eb81fd21ae45bab5204e324ae42, type: 3}
       propertyPath: svoInputFileName

+ 2 - 3
ProjectSettings/ProjectSettings.asset

@@ -153,8 +153,7 @@ PlayerSettings:
   resolutionScalingMode: 0
   androidSupportedAspectRatio: 1
   androidMaxAspectRatio: 2.1
-  applicationIdentifier:
-    Standalone: com.DefaultCompany.StreetLight
+  applicationIdentifier: {}
   buildNumber:
     Standalone: 0
     iPhone: 0
@@ -618,7 +617,7 @@ PlayerSettings:
   managedStrippingLevel: {}
   incrementalIl2cppBuild: {}
   suppressCommonWarnings: 1
-  allowUnsafeCode: 1
+  allowUnsafeCode: 0
   useDeterministicCompilation: 1
   enableRoslynAnalyzers: 1
   additionalIl2CppArgs: