Question by
shadowpuppet · Sep 01, 2016 at 09:46 PM ·
arraysanimations
animation array trying to play all at once
posted previously with an array problem. I figured some of it out so my attack animation does seem to play what I have in the array but it looks like it's trying to play them all at the same time
public AnimationClip[] enemyAttack;
public void Attack()
{
animation.clip = enemyAttack[Random.Range(0, enemyAttack.Length)];
animation.Play();
Comment