Edit Mode
Provides specialized selection and manipulation tools for instances.
Flora provides a specialized editor context for working with instances—allowing you to select, move, rotate, and delete instances in both containers and terrain trees. This is especially useful in scenarios where instances do not have associated GameObjects.
Instance Editing Features
With the editor context active, you can use Unity’s built-in transform tools to:
Select individual instances (e.g. trees or container instances)
Move and rotate instances directly in the Scene View
Delete instances
This functionality is available as long as:
Flora is enabled on the terrain, and
The edit context is active
Activating the Context
To activate Flora's instance editing mode:
Look for the overlay toggle above the Scene View toolbar.
Click the icon with three stacked dots to enable the context.

Note: If your shaders are not properly configured for instanced selection, picking may not work correctly. The "ScenePickingPass" must have the following pragmas:
#pragma target 4.5 #pragma multi_compile _ DOTS_INSTANCING_ON
Additionally ensure the fragment shader returns
unity_SelectionID
and not_SelectionID
.
Last updated