I would like to know if it is possible to add a gameobject to my prebaf script, it is for it to follow my player (a type of artificial intelligence, NavMesh), and if so, how? If you need images or code, just let me know
The short answer would probably be yes.
The longer answer would be, share your code, describe what you want to achieve, and state where things go wrong.