Click or drag to resize

UIManagerHide Method

Hide a window.

Can be await-ed upon.

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

Parameters

name
Type: SystemString
The window (prefab/GameObject) name to hide.
animation (Optional)
Type: SystemString
The animation state to play when hiding.
mode (Optional)
Type: KitWindowHideMode
Whether to de-activate or destroy the instance.

Return Value

Type: UniTaskBoolean
Whether the said window existed was successfully hidden.
See Also