Easy Grid Builder Pro Documentation
  • Getting Started
    • Introduction
    • Quick Start Guide
    • Render Pipeline Conversion
  • Walk Through Tutorial
    • Make 3D Build System (PRO)
    • Make 2D Build System (LITE)
    • Make 3D Modular House Build System (PRO)
    • Custom Build Conditions
    • Basic API Documentation
    • Auto Pivot & Scale Calculation
  • Primary Components
    • Easy Grid Builder Pro
    • Multi Grid Manager
    • Multi Grid Input Manager
    • Multi Grid Build Condition Manager
    • Multi Grid UI Manager
    • Grid Object Ghost
    • Edge Object Ghost
    • Free Object Ghost
    • Grid Object Selector
    • Buildable Grid Object
    • Buildable Edge Object
    • Buildable Free Object
  • Secondary Components
    • Buildable Object Area Blocker
    • Buildable Free Object Snapper
    • Quick Size Calculator
    • Spawn Effects
    • ToolTip
  • Scriptable Objects
    • Buildable Grid Object Type SO
    • Buildable Edge Object Type SO
    • Buildable Free Object Type SO
    • Buildable Object Type Category SO
    • Build Conditions SO
    • Easy Grid Builder Pro Inputs SO
  • Controller Components
    • WASD Camera Controller
    • Simple First Person Camera Controller
    • Simple First Person Camera Holder
    • Simple First Person Character Controller
    • Switch Controllers
  • Other
    • Patch Notes
Powered by GitBook
On this page
  1. Primary Components

Buildable Grid Object

PreviousGrid Object SelectorNextBuildable Edge Object

Last updated 2 years ago

This component handles all the Buildable Grid Object's functionalities. This component must be added to the Buildable Grid Object's parent.

Property
Function
Required

Buildable Grid Object Type SO

BuildableGridObjectTypeSO asset that this Buildable Grid Object owns.

Yes

Rotate Object For XY

Rotate this object automatically in Grid Axis XY

No

Rotate Object For XZ

Rotate this object automatically in Grid Axis XZ

No

Calculate Pivot

Automatically calculate the object's Pivot and Scale

No

Rotate Scale & Pivot For XY

Rotate the custom Scale and Pivot, to the XY axis

No

Object Scale

The scale of the object

Yes

Object Center

The offset of the object's Scale

Yes

Object Custom Pivot

The custom Pivot position of the object

Yes

To use this component simply add this to the buildable grid object prefab parent. Then add the BuildableGridObjectTypeSO asset, that this object owns.

As shown in the image above Buildable Grid Object component was added to the parent of the buildable grid object prefab and also, the BuildableGridObjectTypeSO asset was added to the field.

You can find example implementations of this component in all the pre-made buildable grid object prefabs located in EasyGridBuilder Pro > Prefabs > Buildable Grid Object Samples.

It's Recommended to read about the asset to get a better understanding on how Buildable Grid Objects Type SO can be implemented.

NOTE: Read this quick guide to see

BuildableGridObjectTypeSO
Automatically Setting Up the Pivot and Scale.