From b3825287a2401f388389549f9d6f205d507d1ccf Mon Sep 17 00:00:00 2001 From: br0kenpixel Date: Tue, 5 May 2026 11:36:22 +0200 Subject: [PATCH] simplify member access --- Assets/Scripts/ZombieController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/ZombieController.cs b/Assets/Scripts/ZombieController.cs index 74cb1bf..c37c25b 100644 --- a/Assets/Scripts/ZombieController.cs +++ b/Assets/Scripts/ZombieController.cs @@ -75,7 +75,7 @@ public class ZombieController : MonoBehaviour private AudioClip PickSfx() { - return sfx[UnityEngine.Random.Range(0, sfx.Length)]; + return sfx[Random.Range(0, sfx.Length)]; } private void PlaySfx()