Spawn Effects
This component can be used to add effects to your buildable objects when they build & in the ghost mode. You can use this component to add a nice polish to your project. This is a utility component & it will not affect the functioning of Easy Grid Builder Pro.
Property | Function |
---|---|
Use Scaling Effect | Enable Scale Effect. This Effect gets triggered when placing an object and changing ghost objects. |
Use Scale Effect X | Use scale effect on objects X axis |
Use Scale Effect Y | Use scale effect on objects Y axis |
Use Scale Effect Z | Use scale effect on objects Z axis |
Scale Effect Animation Curve | Set the scale time and amount using an animation curve |
Use Spawn Game Objects | Enable Spawn Game Object Effect. This Effect gets triggered when placing an object. |
Spawn Game Objects | List of game object prefabs |
Spawn Random One From List | Spawn only one random effect prefab from the Spawn Game Object List instead of spawning all. |
Spawn Start Delay | Effects will spawn after this delay (In seconds) |
Spawn Local Position | Spawn object's local position offset |
Spawn Local Rotation | Spawn object's local rotation |
Spawn Local Scale | Spawn object's local scale |
Destroy Spawned After Delay | Enable destroy spawned object after a delayed time |
Destroy Delay | Effects will destroy after this delay (In Seconds) |
To use this component simply add it to Buildable Grid/Free Object Prefabs (To Parent) then set the values as you like. And that's it! Now when you place your buildable objects effects you can see all the spawn effects you added.
As you can see in the top image Spawn Effects component was added to the parent of the Buildable Grid/Free Object Prefab.
You can find example implementations of this component in all the pre-made buildable prefabs located in EasyGridBuilder Pro > Prefabs > Buildable Free Object Samples & Buildable Grid Object Samples.
Last updated