Appearance
Getting Started
This guide walks you through installing Procedural Placement Graph and creating your first placement graph.
Creating Your First Graph
Step 1: Create a Graph Asset
- Right-click in the Project window
- Select Create > Procedural Placement Graph > Graph Asset
- Name it (e.g.,
MyFirstGraph)
Step 2: Open the Graph Editor
- Double-click the graph asset, or
- Open Window > Procedural Placement Graph > Graph Editor and drag the asset into the window
Step 3: Add Nodes
- Right-click in the graph editor to open the Search Window
- Add a Random Points node (Generators category)
- Add a Prefab Instancer node (Instancers category)
- Connect the Out port of Random Points to the In port of Prefab Instancer
Step 4: Configure Nodes
- Select Random Points and set:
pointCount: 50boundsMin: (-10, 0, -10)boundsMax: (10, 0, 10)
- Select Prefab Instancer and assign a prefab to the
prefabfield
Step 5: Set Up the Scene
- Create an empty GameObject in your scene
- Add a PPG Component (
Add Component > PPG Component) - Assign your graph asset to the
Graphfield - Click Generate
Your prefabs should now be scattered within the defined bounds.
Auto Preview
Toggle Auto in the graph editor toolbar to automatically re-execute when you change parameters. If a PPGComponent using this graph exists in the scene, Auto mode runs the full graph including instancers (objects are actually placed). If no component is present, it falls back to preview-only mode showing point positions in the scene view.
Next Steps
- Node Reference — Explore all available nodes
- Preview & Debug — Scene preview, Details window, pin feature
- API Reference — Create your own custom nodes