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, mark the 'Use Covers' checkbox in the EnemyController script:
Create an object in a scene
Add the Surface component on it
Mark the 'Cover' checkbox