- You can open the Sample Scene to have a better imagination of what you need. Go inside
Packages/YのL - Simple AI System/Sample/Sample Scene
; for now you can not open the scene because you have no right to open a read-only scene from a package. But don't worry, all you need to do is just copying the scene and paste it somewhere you want; then now you can open it - Take a look to
AI Root
object, it contains anAI Root (Script)
component, then that will be the component you need to add to an AI object. If it have animations, addAnimator
too. - Look at it child
AI Controller
, this is the Controller of the AI system. Add the component and drop theAI Behaviour
you want to use inside. (AIController
should be inside a child object ofAIRoot
) - Everything is done, if you have not done an Action to get a target; make sure to put an object inside the
Target
field or it will throw an error.