During the game, if an enemy finds suitable cover (close enough to yourself and the character), he will hide behind it.
- To enable this feature on the enemy, mark the Use Covers checkbox in the AI Controller script.
- 1.Add the Cover script to your cover game object
- 2.Create several empty objects and place them around the cover - opponents will be located at these points
- 3.Set those points in the script