메소드 | 설명 | |
---|---|---|
ApplyContentScaleFactor ( ) : void |
This is called after screen size changed.
|
|
BringToFront ( |
将一个窗口提到所有窗口的最前面
|
|
CloseAllExceptModals ( ) : void |
Close all windows except modal windows.
|
|
CloseAllWindows ( ) : void |
Close all windows.
|
|
CloseModalWait ( ) : void |
Hide modal layer and waiting sign.
|
|
DisableSound ( ) : void |
|
|
DisplayObjectToGObject ( |
|
|
EnableSound ( ) : void |
|
|
GRoot ( ) : System.Collections.Generic | ||
GetPoupPosition ( |
|
|
GetTopWindow ( ) : |
Get window on top.
|
|
HidePopup ( ) : void |
Close all popups.
|
|
HidePopup ( |
Close a popup.
|
|
HideTooltips ( ) : void |
|
|
HideWindow ( |
Call window.Hide 关闭一个窗口。将调用Window.Hide方法。
|
|
HideWindowImmediately ( |
Remove a window from stage immediatelly. window.Hide/window.OnHide will never be called. 立刻关闭一个窗口。不会调用Window.Hide方法,Window.OnHide也不会被调用。
|
|
HideWindowImmediately ( |
Remove a window from stage immediatelly. window.Hide/window.OnHide will never be called. 立刻关闭一个窗口。不会调用Window.Hide方法,Window.OnHide也不会被调用。
|
|
PlayOneShotSound ( |
|
|
PlayOneShotSound ( |
|
|
SetContentScaleFactor ( int designResolutionX, int designResolutionY ) : void |
Set content scale factor.
|
|
SetContentScaleFactor ( int designResolutionX, int designResolutionY, |
Set content scale factor.
|
|
ShowModalWait ( ) : void |
Display a modal layer and a waiting sign in the front. 显示一个半透明层和一个等待标志在最前面。半透明层的颜色可以通过UIConfig.modalLayerColor设定。 等待标志的资源可以通过UIConfig.globalModalWaiting。等待标志组件会设置为屏幕大小,请内部做好关联。
|
|
ShowPopup ( |
Show a popup object. 显示一个popup。 popup的特点是点击popup对象外的区域,popup对象将自动消失。
|
|
ShowPopup ( |
Show a popup object along with the specific target object. 显示一个popup。将popup显示在指定对象的上边或者下边。 popup的特点是点击popup对象外的区域,popup对象将自动消失。
|
|
ShowPopup ( |
Show a popup object along with the specific target object. 显示一个popup。将popup显示在指定对象的上边或者下边。 popup的特点是点击popup对象外的区域,popup对象将自动消失。
|
|
ShowTooltips ( string msg ) : void |
|
|
ShowTooltipsWin ( |
|
|
ShowWindow ( |
Display a window.
|
|
TogglePopup ( |
If a popup is showing, then close it; otherwise, open it.
|
|
TogglePopup ( |
|
|
TogglePopup ( |
|
메소드 | 설명 | |
---|---|---|
AdjustModalLayer ( ) : void | ||
CheckPopups ( ) : void | ||
ClosePopup ( |
||
__showTooltipsWin ( object param ) : void | ||
__stageTouchBegin ( |
public DisplayObjectToGObject ( |
||
obj | ||
리턴 |
public GetPoupPosition ( |
||
popup | ||
target | ||
downward | object | |
리턴 |
public HideWindowImmediately ( |
||
win | ||
리턴 | void |
public HideWindowImmediately ( |
||
win | ||
dispose | bool | True to dispose the window. |
리턴 | void |
public PlayOneShotSound ( |
||
clip | ||
리턴 | void |
public PlayOneShotSound ( |
||
clip | ||
volumeScale | float | |
리턴 | void |
public SetContentScaleFactor ( int designResolutionX, int designResolutionY ) : void | ||
designResolutionX | int | Design resolution of x axis. |
designResolutionY | int | Design resolution of y axis. |
리턴 | void |
public SetContentScaleFactor ( int designResolutionX, int designResolutionY, |
||
designResolutionX | int | Design resolution of x axis. |
designResolutionY | int | Design resolution of y axis. |
screenMatchMode | Math mode. | |
리턴 | void |
public ShowPopup ( |
||
popup | ||
target | ||
리턴 | void |
public ShowPopup ( |
||
popup | ||
target | ||
downward | object | True to display downwards, false to display upwards, null to display automatically. |
리턴 | void |
public ShowTooltipsWin ( |
||
tooltipWin | ||
리턴 | void |
public TogglePopup ( |
||
popup | ||
target | ||
리턴 | void |
public TogglePopup ( |
||
popup | ||
target | ||
downward | object | |
리턴 | void |