 | SceneDirectorFadeIn Method |
Fade in the screen.
Can be await-ed upon.
Namespace:
Kit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntaxpublic static UniTask FadeIn(
Nullable<Color> color = null,
float time = 1f,
Action onComplete = null
)
Request Example
View SourceParameters
- color (Optional)
- Type: SystemNullableColor
Fade color. Default if not specified. - time (Optional)
- Type: SystemSingle
Time to take. - onComplete (Optional)
- Type: SystemAction
Method to call when done.
Return Value
Type:
UniTaskA UniTask that emits when fading's done.
See Also