Kit Documentation
Kit Documentation
Kit Reference
Kit.UI Namespaces
Kit.UI
Window Class
Window Methods
Hide Method
Hide Method (WindowHideMode)
Hide Method (String, WindowHideMode)
Window
Hide 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#
Copy
public
UniTask
<
bool
>
Hide
(
string
animation
,
WindowHideMode
mode
=
WindowHideMode
.Auto )
Request Example
View Source
Parameters
animation
Type:
System
String
Play this animation state instead of the one set in
HideAnimation
.
mode
(Optional)
Type:
Kit
WindowHideMode
How to hide the window?
Return Value
Type:
UniTask
Boolean
Whether the window was successfully hidden.
Remarks
Can be
await
-ed upon.
See Also
Reference
Window Class
Hide Overload
Kit.UI Namespace
Send comments on this topic to
agam@frag-games.com