November 2018
Beginner
246 pages
5h 23m
English
Now that we have set up our AI agent, we need a way to tell this agent where to go and update the destination of the tanks to the mouse click position.
So, let's add a sphere entity, which is going to be used as a marker object, and then attach the Target.cs script to an empty game object. Drag and drop this sphere entity onto this script's targetMarker transform property in the inspector.
Read now
Unlock full access