Effects¶
Effects are visual elements that can be applied to your scene for a more immersive gameplay experience. In Studio, you can customize these effects by fine-tuning settings of related Transform, Effect, and VFX components.
Adding an effect to your scene¶
To add an effect to your scene:
-
Find effects by choosing Effects in the Asset Box window.
-
Select an effect that you wish to apply. Then click it twice to apply. In our example, we use Sparkle01.
Configuring the effect¶
When you add an effect, several related components appear in the Properties window by default. Configure the effect further by setting the component properties to match your needs, using Sparkle01 as an example:
-
Open the Properties window by clicking .
-
In the Transform component, set the position, rotation, and scale of the effect. Or simply drag and drop the effect to adjust its position and scale.
-
In the Effect component, adjust the following properties:
Property Description Color The base color of the effect and its opacity. Ranges from 0 to 100%. Start Speed The initial speed of particles, i.e. how many particles to start with per second. The greater the speed, the more spread out particles will be. Ranges from 0 to 100. Default: from 4 to 10. Start Size The initial size of particles. Ranges from 0.01 to 2. Default: from 0.2 to 0.3. Rate Over Time The number of particles emitted per second. Ranges from 0 to 100. Default: 50. Lifetime The lifetime in seconds for particles. Ranges from 0.1 to 2. Default: 0.4-0.6. Spread Angle The angle from which the system emits particles. Ranges from 0 to 90. Default: 10. Gravity Applies gravity to particles. The greater the gravity, the faster particles move downward. Ranges from -2 to +2. Default: from 0.6 to 1. Loop If enabled, continuously emits particles until the system stops Duration The length of time that the particle system runs. Only available when Loop is disabled. Ranges from 0s to 120s. Default: 1s. Spread Radius The radius within which the system emits particles. Ranges from 0 to 2. Default: 0.01. Drag Applies drag to particles. The greater the drag, the faster particles slow down. Ranges from 0 to 10. Default: from 0.2 to 0.6. Local Space If enabled, particles move with the parent object; otherwise, particles move freely, leaving trails behind them Sorting Fudge Lower numbers increase the probability of the particle system drawing over other transparent objects. Ranges from -1 to 1. Default: 0. -
In the VFX component, the trigger object is set to Self by default, and the condition is set to On Start by default, so the effect is on when the game starts. To learn more about changing the trigger object and condition, see Trigger.
Here's how the effect looks like in Play Mode: