This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I’m trying to tell my enemies to chase the player, the problem is they are not spawned yet into the scene.
By my understanding what should be usually done is drag and drop the object that is in the scene into the NavMeshAgent box in the inspector, but how do I do this if the object is not in the scene?
How do I reference itself?
I didn’t have any problems with my character because it already exists in the scene when the scene loads, but enemies spawn at different times so I need to know how to reference something that doesn’t exists yet
Post Details
- Posted
- 6 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/Unity3D/com...