public void RunEnemy4Dodge() { _enemy4Script.randomNumber = Random.Range(-10, 10); _enemy4Script.StartCoroutine(_enemy4Script.DodgePlayerLaser()); }
public void RunEnemy4Dodge() { randomNumber = Random.Range(-10, 10); // used to randomly pick left or right dodge _enemy4Script.randomNumber = randomNumber; _enemy4Script.StartCoroutine(_enemy4Script.DodgePlayerLaser()); }