This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// We need UnityEngine and UnityEngine.AI to make this script work! | |
using UnityEngine; | |
using UnityEngine.AI; | |
/// <summary> | |
/// Welcome to the Random AI Naviation tutorial. I'm trying something different. In this | |
/// tutorial I will help you understand how to make an NavMeshAgent in Unity randomly | |
/// navigate the NavMesh. This is a basic script and you may expand upon it and use it | |
/// for free with no attribution required. Continue reading the comments for detailed | |
/// explanations for each line of code. |