In the game, if an enemy finds suitable cover (close enough to yourself and the character), he will hide behind it.
If you use this feature, don't forget to add 'all-directions movement' animations.
To enable this feature, activate Use Covers checkbox in the EnemyController script:
Create an object in a scene
Add the Surface script on it
Set the Cover checkbox