// Use this for initialization void Start() { animator = GetComponent<Animator> (); currentState = wanderState; turtleLight = GetComponent<Light> (); rb2D = GetComponent<Rigidbody2D> (); _turtleRotateAndAnimate = GetComponent<TurtleRotateAndAnimate> (); // _turtleRotateAndAnimate.isSkidding = false; keepInRange = true; followTurtle = false; // lightOn (true); }
public void reset() { currentState = wanderState; keepInRange = true; followTurtle = false; }