Reply To: BattleManager Enemy target reference issue

Home Forums Books Mastering Unity 2D Game Development BattleManager Enemy target reference issue Reply To: BattleManager Enemy target reference issue

#10499

Having a look now, sorry it took a while but I’m currently out of the country with work.

My Initial thought, although I’ve not found it. Is that some state is not being cleared when the second attack starts.

This is shown because the players weapon selection is not cleared between rounds, so I also suspect the selected enemy is not being cleared properly.

Where it is getting stuck, is that is getting in a loop in the BattleManager update for the playerattack.

Hope that helps, will look more again when I get a chance

Simon (Darkside) Jackson
@SimonDarksideJ