sm.gui.startFadeToBlack
Fades the screen to black and back after timeout.
Kind: Function
Environments: Game
Game
sm.gui.startFadeToBlack( duration, timeout )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
duration |
number | Animation duration |
timeout |
number | Seconds until the fade fades back |