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. Secondary Components

Quick Size Calculator

PreviousBuildable Free Object SnapperNextSpawn Effects

Last updated 2 years ago

This component is deprecated! And no longer available in new Easy Grid Builder Pro versions. All the Scale & Pivot calculations are now handled in and components.

This component is used to visually calculate the buildable object's 'X' & 'Z' scale. Then you can use these scales in the BuildableGridObjectTypeSO asset to set the object's scale. This is a utility component & it is not required to function Easy Grid Builder Pro.

Property
Function

Object Width

Width of the visual ('X' axis)

Object Length

Length of the visual ('Z' axis)

This component draws a gizmo square in the scene to visualize the size. To use this simply add this component to the buildable object (Not to the parent, to the object that has the mesh renderer) then change Width & Length values to get a proper size and then,

use these values in your BuildableGridObjectTypeSO asset "Object Scale X" & "Object Scale Z".

After that, you can simply remove the component from the object since it is no longer needed.

As you can see in the top image this object's size is roughly 9x9. The green square is the visual representation. You can use these two values in your BuildableGridObjectTypeSO asset and then simply remove the component from the object.

NOTE: If you can't see the green gizmo square make sure to enable "show gizmos" on your scene.

Buildable Grid Object
Buildable Free Object