Closed sophiaaar closed 7 years ago
This script is similar to Wander, but the gameObject just moves back and forth, changing direction at an interval set in the Inspector.
This script could be used for enemies in a 2D platformer, for example.
This script is similar to Wander, but the gameObject just moves back and forth, changing direction at an interval set in the Inspector.
This script could be used for enemies in a 2D platformer, for example.