I want to make an IA of my game . I need a way to get the shots (prefabs) in the game to compare with the enemy , and the enemy to deviate .
I've already tryed to put the prefabs in the variables on script but it didn't work.
I want to get the shots and compare with the enemy position .
How can I do it?
Please I'm beginner on unity.
↧