Just updating my MoveToLastDetectedPos script and this is the first part I’m stuck on. I need to get the GameObject of the detected aspect.
I used to use the following code:
var detected = agent.actionContext.GetContextItem.<GameObject>(“detectedTarget”);
(Hmm the code tag makes an ugly white box with white text)
But how do I do it now? I can’t find actionContext anymore.