public extern void ResetPath();
/// <summary>
// OnIdleEnter is to be called when entering/starting the Idle State. void OnIdleEnter() { // For testing purposes i wanna use the stateNote.Text. The text above the Enemy's head stateNote.text = "Idle"; // When I enter the Idle State I wanna reset the NavMesh/Nav Agent path, so I don't have a preexisting path. agent.ResetPath(); }