Click or drag to resize

WindowHide Method (String, WindowHideMode)

Hide the window using a particular animation.

Namespace:  Kit.UI
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public UniTask<bool> Hide(
	string animation,
	WindowHideMode mode = WindowHideMode.Auto
)
Request Example View Source

Parameters

animation
Type: SystemString
Play this animation state instead of the one set in HideAnimation.
mode (Optional)
Type: KitWindowHideMode
How to hide the window?

Return Value

Type: UniTaskBoolean
Whether the window was successfully hidden.
Remarks
Can be await-ed upon.
See Also