Buildable Edge Object
Last updated
Last updated
This component handles all the Buildable Edge Object's functionalities. This component must be added to the Buildable Edge Object's parent.
Property | Function | Required |
---|---|---|
Buildable Edge Object Type SO | BuildableEdgeObjectTypeSO asset that this Buildable Edge Object owns. | Yes |
Calculate Pivot | Automatically calculate the object's Pivot and Scale | 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 |
It's Recommended to read about the BuildableEdgeObjectTypeSO asset to get a better understanding on how Buildable Edge Objects Type SO can be implemented.
To use this component simply add this to the buildable edge object prefab parent. Then add the BuildableEdgeObjectTypeSO asset, that this object owns.
NOTE: Read this quick guide to see Automatically Setting Up the Pivot and Scale.
As shown in the image above Buildable Edge Object component was added to the parent of the buildable edge object prefab and also, the BuildableEdgeObjectTypeSO asset was added to the field.
You can find example implementations of this component in all the pre-made buildable edge object prefabs located in EasyGridBuilder Pro > Prefabs > Buildable Edge Object Samples.