21,614 views
Today we are improving our artificial intelligence. The enemy returns to its base if it loses the player and is too far from its starting point. We are also adding the possibility of making one or more objects appear when an enemy dies. Script enemyAi.cs: https://www.tutounity.fr/script.php?i... Download the project: github.com/TUTOUNITYFR/TUTO-RPG-2017 Unity version of the video: Unity 2017.1 (Free version) -------------------------------------------------------------------------------------------------------------------------------------- Please respect other users in the comments section and report or ignore disrespectful comments. -------------------------------------------------------------------------------------------------------------------------------------- TWITTER : / tutounityfr FACEBOOK : / tutounityfr WEBSITE : https://www.tutounity.fr HELP FORUM : https://www.tutounity.fr/forum DEVELOPER WEBSITE : https://www.yeti-studio.net DOWNLOAD UNITY 3D (all versions): https://unity3d.com/get-unity/downloa...