Buildable Object Effects
Last updated
Last updated
The Buildable Object Effects component located in: SoulGames > Easy Grid Builder Pro 2 > Scripts > Grid Visuals Scripts provides visual, audio, and interaction effects for buildable objects within the Easy Grid Builder Pro 2 system. These effects include animations during spawning, spawning objects during spawning and destruction, material changes during interactions, and sound effects to enhance user feedback. Simply put this component adds a great final polish to your Buildable Objects.
You can add scaling and positioning animations to your Buildable Objects using customizable animation curves with this section of the component. Also additionally you have the option to spawn additional game objects on creation. (Ex: Particle effects)
Use Scaling Effect On Spawn
Enables scaling animation on spawn
No
Block Scalling Effect For Ghost Object
Prevents scaling effects for ghost objects while attempting to place them on the grid
No
Scaling Affect X Axis
Determines the X axis is affected by scaling
No
Scaling Affect Y Axis
Determines the Y axis is affected by scaling
No
Scaling Affect Z Axis
Determines the Z axis is affected by scaling
No
Scale Effect Animation Curve
Defines the scaling animation curve. (Time and Scale)
No
Target Scale
Final scale after the animation is complete (once the scaling animation reaches this scale value it will stop)
No
Use Position Effect On Spawn
Enables positioning animation on spawn
No
Block Position Effect For Ghost Object
Prevents positioning effects for ghost objects while attempting to place them on the grid
No
Position Affect X Axis
Determines the X axis is affected by positioning
No
Position Affect Y Axis
Determines the Y axis is affected by positioning
No
Position Affect Z Axis
Determines the Z axis is affected by positioning
No
Position Effect Animation Curve
Defines the positioning animation curve. (Time and Position)
No
Use Spawn Game Objects On Spawn
Enables spawning objects on spawn
No
Spawn Game Object List
List of objects to spawn
No
Prevent Spawn In Ghost Mode
Prevents spawning objects on ghost object mode while attempting to place them on the grid
No
Spawn Random One From List
Spawns only one random object from the list
No
Spawn Local Position
Custom position for spawned objects
No
Spawn Local Rotation
Custom rotation for spawned objects
No
Spawn Local Scale
Custom scale for spawned objects
No
Spawnned Object Lifetime
The lifetime of spawned objects (destroyed after this time)
No
You can spawn additional game objects on Buildable Object Destruction. (Ex: When you destroy a built object you can spawn an explosion Particle effect)
Use Spawn Game Objects On Destroy
Enables spawning objects during destruction
No
Spawn Game Object List
List of objects to spawn
No
Spawn Random One From List
Spawns only one random object from the list
No
Spawn Local Position
Custom position for spawned objects
No
Spawn Local Rotation
Custom rotation for spawned objects
No
Spawn Local Scale
Custom scale for spawned objects
No
Spawnned Object Lifetime
The lifetime of spawned objects (destroyed after this time)
No
With Interaction Effects, you can add Change Buildable Object's material on hover, selection, and movement states easily. Additionally, you can exclude objects that should not be affected by the material change. Also, you add audio feedback for interactions such as hover enter/exit, and selection.
Change Object Material
Enables material changes during interactions
No
Root Object
The root game object to which the material change should be applied
Yes
Exclude Child Objects
Child game objects of the Root Object to exclude from the material change
No
Base Material
Default material of the object. (the original material of the object)
No
Destroyer Hover Change Material
Material applied during Destroy Mode hover
No
Selector Hover Change Material
Material applied during Select Mode hover
No
Selector Selected Material
Material applied when Select Mode selected
No
Mover Hover Change Material
Material applied during Move Mode hover
No
Make Sound Effect
Enables sound effects
No
Destroyer Hover Enter Audio Clip
Audio clip to play during Destroy Mode hover enter
No
Destroyer Hover Exit Audio Clip
Audio clip to play during Destroy Mode hover exit
No
Selector Hover Enter Audio Clip
Audio clip to play during Select Mode hover enter
No
Selector Hover Exit Audio Clip
Audio clip to play during Select Mode hover exit
No
Selector Selected Audio Clip
Audio clip to play during Select Mode selected
No
Selector Deselected Audio Clip
Audio clip to play during Select Mode deselected
No
Mover Hover Enter Audio Clip
Audio clip to play during Move Mode hover enter
No
Mover Hover Exit Audio Clip
Audio clip to play during Move Mode hover exit
No
Mover Start Moving Audio Clip
Audio clip to play during Move Mode start moving
No
Mover End Moving Audio Clip
Audio clip to play during Move Mode end moving
No
This component is specifically designed for use with Easy Grid Builder Pro 2 Buildable Objects. After creating your Buildable Objects, attach this component to the root game object (the same object where the Buildable Grid / Edge / Corner / Free Object component is attached). Then, configure the necessary properties to suit your needs.
You can inspect the Buildable Objects used in the Easy Grid Builder Pro 2 Demo scenes. Most of these objects have the Buildable Spawn Effects component attached to them.