Easy Grid Builder Pro 2 Documentation
Easy Grid Builder Pro 2 Documentation
  • Getting Started
    • Introduction
    • Quick Start Guide
    • API Documentation
      • API - All Accessible Events
      • API - Grid Manager Classes
      • API - Easy Grid Builder Pro Class
      • API - Grid Buildable Classes
    • Render Pipeline Compatibility
    • Third Party Assets Compatibility
    • Patch Notes
  • Walk Through Tutorial
    • Make a 2D City Builder
      • Setting Up The Scene
      • Setting Up the Grid Values
      • Setting Up Visual - Object Grid
      • Creating Buildable Objects
      • Creating Buildable Object SO Assets
      • Adding Grid Area Disablers And Enablers
    • Make a 3D City Builder
      • Setting Up The Scene
      • Exploring Grid Properties
      • Adding Grid Visuals - Object Grid
      • Creating Buildable Objects
      • Creating Buildable Object SO Assets
      • Explore UI and Quick Play Testing
      • Exploring Grid Managers
      • Exploring Grid Modules
      • Polishing Buildable Objects with Effects
      • Adding Grid Visuals - Procedural Grid
      • Setting Up Custom Surface Projection
      • Adding Terrain
    • Make a 3D Modular House Builder
    • Review Demo Scenes
  • Explore Major Features
    • Setting Up Buildable Objects
    • Setting Up Buildable Objects SO Assets
    • Grid UI Features
    • Grid Visual - Object Grid Features
    • Grid Visual - Procedural Grid Features
    • Explore Build Conditions
    • Explore Grid Heat Map Features
  • Scriptable Objects
    • Buildable Grid Object SO
      • Buildable Grid Object Category SO
    • Buildable Edge Object SO
      • Buildable Edge Object Category SO
    • Buildable Corner Object SO
      • Buildable Corner Object Category SO
    • Buildable Free Object SO
      • Buildable Free Object Category SO
    • Buildable Object UI Category SO
    • Grid Modifier SO
  • Primary Components
    • Easy Grid Builder Pro XZ / XY
      • Easy Grid Builder Pro
      • Editor Grid Visual Handler XZ / XY
      • Grid Data Handler
    • Buildable Object Configurator
    • Buildable Grid Object
    • Buildable Edge Object
    • Buildable Corner Object
    • Buildable Free Object
    • Grid Manager
      • Grid Built Objects Manager
      • Grid Input Manager
      • Grid Save And Load Manager
      • Grid Heat Map Manager
      • Grid Area Modifier Manager
      • Grid Area Disabler Manager
      • Grid Area Enabler Manager
      • Grid UI Manager
    • Buildable Grid Object Ghost
    • Buildable Edge Object Ghost
    • Buildable Corner Object Ghost
    • Buildable Free Object Ghost
    • Buildable Object Destroyer
    • Buildable Object Selector
    • Buildable Object Mover
  • Secondary Components
    • Grid Heat Map
    • Grid Area
    • Grid Area Disabler
      • Basic Grid Area Disabler
    • Grid Area Enabler
      • Basic Grid Area Enabler
    • Grid Area Modifier
    • Buildable Free Object Snapper
    • Grid Area Visual Generator
    • Grid Cell Indicator Visual Generator
    • Buildable Object Effects
    • Grid Custom Surface Projector
    • UI Third Person Cursor Handler
  • Utility Components
    • Terrain Data Manager
    • Global Time Tick Manager
    • WASD Camera Controller
    • Scaling Effect
    • Easy Screen Shot Maker
Powered by GitBook
On this page
  • Creating the Project Structure
  • Adding Grid Manager Prefab
  • Adding And Configuring Grid System
  • Replacing the Existing Camera with a Better Camera
  1. Walk Through Tutorial
  2. Make a 3D City Builder

Setting Up The Scene

To start building your 3D city, you’ll need to create a project folder, set up a new scene, and add the necessary Easy Grid Builder Pro 2 prefabs. Let’s walk through the process step-by-step.


Creating the Project Structure

First, organize your project by creating a new folder and a demo scene.

  1. Create a New Folder:

    • Create a folder in your Unity project for this tutorial.

    • Example name: 3D City Builder Tutorial Demo

  2. Create a New Scene:

    • Inside this folder, create a new scene for your demo.

    • Example name: 3D City Builder Tutorial Demo Scene


Adding Grid Manager Prefab

Next, add the core Easy Grid Builder Pro 2 prefabs to your scene.

  • Locate the Grid Managers prefab in: Assets/SoulGames/Easy Grid Builder Pro 2/Prefabs/Grid Managers.prefab.

  • Drag and drop the prefab into your scene. This prefab manages all grid systems in your project.

Important: After adding the prefab:

  1. Right-click on the Grid Managers object in the Hierarchy.

  2. Select Prefab > Unpack Completely to unpack the prefab.

If your scene already includes an EventSystem GameObject, you’ll find another one in the Grid Managers prefab. Remove either the existing EventSystem or the one inside Grid Managers to avoid conflicts.


Adding And Configuring Grid System

Now, let’s add and set up the grid system for your scene.

  1. Add the Grid Prefab:

    • Locate the EGB Pro 2 Grid XZ prefab in: Assets/SoulGames/Easy Grid Builder Pro 2/Prefabs/EGB Pro 2 Grid XZ.prefab.

    • Drag and drop it into your scene.

  2. Unpack the Prefab:

    • Right-click on the prefab in the Hierarchy and select Prefab > Unpack Completely.

  3. Grid Prefab Selection:

    • Use the EGB Pro 2 Grid XZ prefab for 3D games, as it operates on the XZ plane.

    • The alternative EGB Pro 2 Grid XY prefab works on the XY plane but is otherwise identical.

  4. Generate a Unique Grid ID:

    • After unpacking, locate the Grid Unique ID property in the Core Grid Properties section of the grid component.

    • Click the refresh button next to the property to generate a unique ID.

  5. Display the Grid in the Editor:

    • Enable the Update Grid In Editor property (below the Grid Unique ID property) to preview the grid in the Unity Editor.

To get the most out of the Easy Grid Builder Pro XZ/XY component, it’s highly recommended to familiarize yourself with its features and properties. This will help you better understand how the grid system works and how to utilize it effectively in your projects. Use the link below to Learn More:


Replacing the Existing Camera with a Better Camera

To enhance the camera functionality in your scene, you can replace the default Main Camera with the WASD Camera Controller Prefab provided by Easy Grid Builder Pro 2.

  1. Remove the Existing Camera:

    • In the Hierarchy, delete the Main Camera object.

  2. Add the WASD Camera Controller Prefab:

    • Navigate to: Assets/SoulGames/Easy Grid Builder Pro 2/Prefabs/Sample Camera Controller/WASD Camera Controller Prefab.prefab.

    • Drag and drop the WASD Camera Controller Prefab into your scene.

  3. Unpack the Prefab:

    • Right-click on the WASD Camera Controller Prefab in the Hierarchy.

    • Select Prefab > Unpack Completely.

  4. Adjust the Camera’s Transform:

    • Set the Transform Position values to:

      • X: 0

      • Y: -10

      • Z: 20

    • Set the Transform Rotation values to:

      • X: 0

      • Y: 0

      • Z: 0

    • Keep all other values at their default settings.

For a deeper understanding of the WASD Camera Controller and how to customize it for your scene, refer to the detailed documentation Using the link below:

PreviousMake a 3D City BuilderNextExploring Grid Properties

Last updated 5 months ago

Easy Grid Builder Pro XZ / XY
WASD Camera Controller