Fade Actions
Fade actions animate intensity or alpha over a duration, then finish.
Common Parameters
| Parameter | Description |
|---|---|
| Duration | How long the fade takes (seconds). |
| UseRealtime | Uses unscaled time so the effect continues while gameplay is paused or slowed. |
| Progress | Optional output showing normalized progress from 0 to 1. |
| Finished Event | Optional event sent when the fade completes. |
Actions
| Action | Overview |
|---|---|
| Fade In Light | Fades a Light intensity from 0 to its original intensity. |
| Fade Out Light | Fades a Light intensity from current value to 0. Optional Disable On Complete turns the Light off when finished. |
| Fade In Graphic | Fades a UI Graphic alpha from 0 to its original alpha. |
| Fade Out Graphic | Fades a UI Graphic alpha from current value to 0. |
| Fade In Canvas Group | Fades a Canvas Group alpha from 0 to its original alpha. |
| Fade Out Canvas Group | Fades a Canvas Group alpha from current value to 0. |
Example
- Add Fade Out Graphic before a screen transition.
- Set Duration to 0.35.
- Use Finished Event to trigger the next state when the fade completes.