Last active
October 8, 2018 19:55
-
-
Save Ratstail91/605646bd72f94aa9e75b1bead0d0dced to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vector3 targetVector = gameObjectArray[waypoint].transform.position; | |
_navMeshAgent.SetDestination(targetVector); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment