 | UIManagerHide Method |
Hide a window.
Can be await-ed upon.
Namespace:
Kit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntaxpublic static UniTask<bool> Hide(
string name,
string animation = null,
WindowHideMode mode = WindowHideMode.Auto
)
Request Example
View SourceParameters
- 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:
UniTaskBooleanWhether the said window existed was successfully hidden.
See Also