Skip to content

Instantly share code, notes, and snippets.

@jmbeach
Created January 3, 2015 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmbeach/e869c54e3b105a512220 to your computer and use it in GitHub Desktop.
Save jmbeach/e869c54e3b105a512220 to your computer and use it in GitHub Desktop.
int OnPathPointEnter(Collider other,GameObject pathPoint)
{
//_nodeLastVisited++;
_nodeLastVisited = Nodes.IndexOf(pathPoint.transform)+1;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment