Bläddra i källkod

修复:删代码导致的得0分也会Perfect音效的bug

XuJJ 1 månad sedan
förälder
incheckning
907f669bce

+ 1 - 1
snipershooting/ShootSniper/Assets/Scripts/GamePlay/Shoot/Shooter/ShootResult.cs

@@ -177,7 +177,7 @@ public class ShootResultSound
                 {
                     score = totalScore;
                 }
-                // if (score > 0 && score < len)
+                if (score > 0/* && score < len*/)
                 {
                     //int val = Random.Range(0, 2);
                     //sound = val == 0 ? CommonDefines.SOUND_POINTSCORE_SE[score] : CommonDefines.SOUND_SCORE_SE[score];