I want code to check if target is alive, and if yes shoot at it. I want to check it all the time, and shoot all the time, The only problem is that checks can be made anytime
InvokeRepeating( "PossiblyShoot" , 1f, 1f ); private void PossiblyShoot() { 1. check if target still exists 2. if it exists shoot at it }