playMaker

Author Topic: Can't store "NavMeshAgent" component in object variable "SOLVED"  (Read 1323 times)

SeanC

  • Junior Playmaker
  • **
  • Posts: 61
I'm scrolling through all the potential variables I could set my Object variable to, but for the life of me I can't find "NavMeshAgent", even under the "UnityEngine" submenu. Am I missing it?

« Last Edit: August 06, 2017, 08:47:15 PM by SeanC »

SeanC

  • Junior Playmaker
  • **
  • Posts: 61
Re: Can't store "NavMeshAgent" component in object variable
« Reply #1 on: August 06, 2017, 08:46:57 PM »
Found it under "UnityEngine>AI". Cool feature I didn't know about with Playmaker that helped me find it:
Drag a component into your variables menu and it will create a variable for you with that object set as the input. It also automagically sets the created variable to the correct type. Very awesome!