More...
|
| | FadeService (int pollingRateMs=100, Func< IFadeManager > fadeManagerResolver=null) |
| | Creates a fade service.
|
| |
| async Task | Perform (FadeDirection direction) |
| | Performs a fade from the current alpha in the target direction. Task completes when fade is complete.
|
| |
| bool | IsComplete () |
| | Returns true if the most recent fade has completed.
|
| |
◆ FadeService()
Creates a fade service.
- Parameters
-
| pollingRateMs | The interval to check if a fade is completed while its being performed. |
| fadeManagerResolver | A function to get the fade manager at runtime. Defaults to using FindObjectOfType in the scene. |
◆ IsComplete()
Returns true if the most recent fade has completed.
Implements IFadeService.
◆ Perform()
Performs a fade from the current alpha in the target direction. Task completes when fade is complete.
Implements IFadeService.
The documentation for this class was generated from the following file:
- Runtime/Fade/FadeService.cs