private void MovePetToRandomWaypoint() { int randomWaypoint = Random.Range(0, waypoints.Length); pet.Move(waypoints[randomWaypoint].position); }