Trying to put the RandomPath script into a object gives this error
Tried searching and messing with the script with no success. Any help would be welcome.
RandomPath is not a monobehaviour.
It is used like other path types. See http://arongranberg.com/astar/docs/class_pathfinding_1_1_random_path.php
I read about that just after asking the question unfortunately. Thanks