Assets.Scripts.Enemy.EnemySounds.PlayDeathSound C# (CSharp) Method

PlayDeathSound() public method

public PlayDeathSound ( ) : void
return void
        public void PlayDeathSound()
        {
            if (Die.Count > 0) {
                AudioSource.PlayClipAtPoint(Die.Random(), transform.position);
            }
        }
    }