You've already forked zumbi-game
simplify member access
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user