MicroVerse Roads

How To Use

  1. Buy & download, import the following asset plugins:

Getting Started

  1. Unpack microverse prefab package:

    _images/mvr1.png
  2. Open Roads Demo or your scene.

  3. Create City base.

  4. Create a new gameobject & add MVR_Generator component.

  5. Assign MVR config & config from the list.

    _images/mvr2.png
  6. Customize all settings according to your needs.

  7. Press Generate button

  8. View a Generated data, fix any problems if this tab has them & generate again.

    _images/mvr3.png

    Result example.

  9. If you have Not found road objects in the Inspector and are using your own microverse road objects, use MVR UserPrefab to add the prefabs in MVR Config if your prefab is repeatable and not unique or use MVR UserSceneSegment if you have a unique road segment for a road object. After adding these components, regenerate the scene.

  10. Generate a subscene.

  11. If you want to regenerate roads, press Move back button in the Hub & regenerate roads in MVR_Generator & generate subscene in the Hub again.

MVR UserPrefab

This component helps users conveniently add prefabs to the MVR config.

How To Use

  • Create a road segment in the scene where you want your custom intersection.

  • Add your segment to prefabs.

  • Add MVR_UserPrefab component.

  • Select the Intersection in the scene by pressing the Select button.

  • Press Add Prefab button in the inspector.

  • Now, your prefab addded to MVR config & you can regenerate the scene.

MVR UserSceneSegment

This component prevents the road segment from being cleaned up during regeneration, useful for unique road objects.

How To Use

  • Create a road segment in the scene where you want your custom intersection.

  • Add MVR_UserSceneSegment component.

  • In the inspector, press Sync Position to synchronize the intersection and segment positions.