So much audio stuff holy shit
This commit is contained in:
@@ -72,6 +72,9 @@ public class PlayerScript : MonoBehaviour
|
||||
|
||||
if(other.gameObject.tag == "Enemy")
|
||||
{
|
||||
AudioSource.PlayClipAtPoint(
|
||||
damage[Random.Range(0,damage.Length)], new Vector3(0, 0, 0));
|
||||
|
||||
life--;
|
||||
|
||||
if(life > 0)
|
||||
|
||||
Reference in New Issue
Block a user