Home

Awesome

Grid-Placer

Grid Placer Logo

A Unity3D package to alleviate the pain of creating grid-based maps by hand

Installation

Open the Package Manager Window, click the little + button in the top left corner and choose Git URL. Make sure to copy the URL from the green Code button instead of taking it from the browser URL field.

The Grid Placer Window

In the Toolbar go to Tools > Grid Placer to open the Grid Placer Window. I suggest docking it next to the inspector. Said window contains the following settings:

The Scene Gizmos

In the scene view you will notice the Grid Gizmo which is constantly following your cursor.

Shortcuts

Key (In the Scene View)Action
1Switch to Center Snap Mode
2Switch to Edges Snap Mode
3Switch to Corners Snap Mode
4Disable Snapping
ScrollChange Height using Big Step
Scroll+ShiftChange Height using Small Step
ERotate the selected prefab clockwise using Big Step
E+ShiftRotate the selected prefab clockwise using Small Step
QRotate the selected prefab counterclockwise using Big Step
Q+ShiftRotate the selected prefab counterclockwise using Small Step
RCycle through all the prefabs in the Pool
R+ShiftCycle through all the prefabs in the Pool in reverse
LMBPlace the selected prefab
LMB+AltSample the height of whatever you clicked on (Requires a collider to work)

Prefab Palettes

Prefab Palette Icon

Prefab Palettes are a custom asset type which can be used to group prefabs. They can then be dragged into the Drag Prefabs here field in the Grid Placer Window to add all prefabs contained in the Prefab Palette to the active palette.

To create a Prefab Palette right click in the Project Browser > Create > GridPlacer > Prefab Palette. You will notice that the UI looks very similar to the Prefab Palette UI in the Grid Placer Window. You can drag prefabs into the Drag Prefabs here field to add them to the Prefab Palette and click on the Prefab thumbnails in the list to remove them.