Search Unity

Assigning Navmesh Layer to Multiple Objecs At Once

Discussion in 'Navigation' started by arturmandas, Nov 25, 2015.

  1. arturmandas

    arturmandas

    Joined:
    Sep 29, 2012
    Posts:
    240
    Hello,
    How do I assign nav mesh layers to multiple objects? In the Navigation pane, it is possible to choose a navmesh layer only if the selected object has a Mesh Renderer component. How do I assign the layer to a group of objects parented under a null object? I can try to write an Editor script to iterate over selection, but it is so basic a functionality that I am certain I am missing something here.

    Best!
     
  2. arturmandas

    arturmandas

    Joined:
    Sep 29, 2012
    Posts:
    240
    Nobody knows?