NPC move and find
Hello all, I was looking for and did not find.
I have a complication, which I can't resolve. I am a beginner.
In my mind is born to the game plan. and I need the following.
I have the NPC, which in itself should find a job.
Thus, in itself, should ride around the map and search for raw materials in the collection, after finding should start to benefit and after working out again in search of more. full returns to base.
It is clear to me that the main system, decision-making is driven by a behavioral tree.
thinking over the search.
I don't know how to tell NPC search gameobject wood.
Correctly move around the map and search for gameobject wood
from what I found, it should be the ""gameobject.Find "wood" "", but how to make to make yourself reasonably moved.
Thank you for any help. the more specific the better it will be for me.