Click or drag to resize

SceneDirectorFadeIn Method

Fade in the screen.

Can be await-ed upon.

Namespace:  Kit
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public static UniTask FadeIn(
	Nullable<Color> color = null,
	float time = 1f,
	Action onComplete = null
)
Request Example View Source

Parameters

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: UniTask
A UniTask that emits when fading's done.
See Also