Beispiel #1
0
    private void MovePetToRandomWaypoint()
    {
        int randomWaypoint = Random.Range(0, waypoints.Length);

        pet.Move(waypoints[randomWaypoint].position);
    }