Scaling Effect

The Scaling Effect component is a utility designed for use with any GameObject, whether related to Easy Grid Builder Pro 2 or not. This component acts as a lighter version of the Buildable Object Effects component, which is exclusive to Buildable Objects in Easy Grid Builder Pro 2. And allows you to add scaling effects to objects when they spawn. You can find this component in SoulGames > Utilities > Scripts.

General Settings

Property
Function
Required

Enable X Axis

Toggles scaling animation on the X-axis

No

Enable Y Axis

Toggles scaling animation on the Y-axis

No

Enable Z Axis

Toggles scaling animation on the Z-axis

No

Animation Settings

Property
Function
Required

X Axis Curve

Defines the animation curve for scaling along the X-axis.

No

Y Axis Curve

Defines the animation curve for scaling along the Y-axis.

No

Z Axis Curve

Defines the animation curve for scaling along the Z-axis.

No

Target Scale

The final scale of the object after the scaling animation

No

Random Delay

The range of random delay (in seconds) before the scaling animation starts

No

Timing And Lifecycle Settings


Property
Function
Required

Stop Time

Specifies the duration (in seconds) for the scaling animation

No

Destroy On Complete

Determines whether the component is destroyed after the scaling animation is complete

No

Example Use case

You can use the Scaling Effect component with non-Buildable Objects to add a scaling effect when they spawn.

For example, check out the Demo - Procedural Nodes Grid Example scene included with Easy Grid Builder Pro 2. In this demo, all the nodes (tiles generated by the procedural grid) feature a unique scaling effect when they spawn. This effect is achieved using the Scaling Effect component.

Each node prefab in the scene has the Scaling Effect component attached with different values, creating distinct scaling animations for a unique visual effect.

Last updated