simplify member access

This commit is contained in:
2026-05-05 11:36:22 +02:00
parent 5d4e0b98bf
commit b3825287a2
+1 -1
View File
@@ -75,7 +75,7 @@ public class ZombieController : MonoBehaviour
private AudioClip PickSfx() private AudioClip PickSfx()
{ {
return sfx[UnityEngine.Random.Range(0, sfx.Length)]; return sfx[Random.Range(0, sfx.Length)];
} }
private void PlaySfx() private void PlaySfx()