C# Class FairyGUI.Stage

Inheritance: Container
显示文件 Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Methods

Method Description
ApplyPanelOrder ( Container target ) : void

设置UIPanel/UIPainter等的渲染层次,由UIPanel等内部调用。开发者不需要调用。

CancelClick ( int touchId ) : void

CloseKeyboard ( ) : void

DisableSound ( ) : void

EnableSound ( ) : void

GetAllTouch ( int result ) : int[]
GetTouchPosition ( int touchId ) : Vector2

Instantiate ( ) : void

MonitorTexture ( NTexture texture ) : void

OpenKeyboard ( string text, bool autocorrection, bool multiline, bool secure, bool alert, string textPlaceholder, int keyboardType ) : void

PlayOneShotSound ( AudioClip clip ) : void

PlayOneShotSound ( AudioClip clip, float volumeScale ) : void

ResetInputState ( ) : void

SetCustomInput ( RaycastHit &hit, bool buttonDown ) : void

SetCustomInput ( RaycastHit &hit, bool buttonDown, bool buttonUp ) : void

SetCustomInput ( Vector2 screenPos, bool buttonDown ) : void

SetCustomInput ( Vector2 screenPos, bool buttonDown, bool buttonUp ) : void

SortWorldSpacePanelsByZOrder ( int panelSortingOrder ) : void

Adjust display order of all UIPanels rendering in worldspace by their z order.

Stage ( ) : System.Collections.Generic

Private Methods

Method Description
AddTouchEndMonitor ( int touchId, EventDispatcher target ) : void
CompareZ ( DisplayObject c1, DisplayObject c2 ) : int
CreatePoolManager ( string name ) : Transform
GetHitTarget ( ) : void
HandleCustomInput ( ) : void
HandleEvents ( ) : void
HandleGUIEvents ( Event evt ) : void
HandleMouseEvents ( ) : void
HandleRollOver ( TouchInfo touch ) : void
HandleScreenSizeChanged ( ) : void
HandleTextInput ( ) : void
HandleTouchEvents ( ) : void
InternalUpdate ( ) : void
OnFocusRemoved ( EventContext context ) : void
RunTextureCollector ( object param ) : void
SceneManager_sceneLoaded ( Scene scene, LoadSceneMode mode ) : void
UpdateTouchPosition ( ) : void

Method Details

ApplyPanelOrder() public method

设置UIPanel/UIPainter等的渲染层次,由UIPanel等内部调用。开发者不需要调用。
public ApplyPanelOrder ( Container target ) : void
target Container
return void

CancelClick() public method

public CancelClick ( int touchId ) : void
touchId int
return void

CloseKeyboard() public method

public CloseKeyboard ( ) : void
return void

DisableSound() public method

public DisableSound ( ) : void
return void

EnableSound() public method

public EnableSound ( ) : void
return void

GetAllTouch() public method

public GetAllTouch ( int result ) : int[]
result int
return int[]

GetTouchPosition() public method

public GetTouchPosition ( int touchId ) : Vector2
touchId int
return Vector2

Instantiate() public static method

public static Instantiate ( ) : void
return void

MonitorTexture() public method

public MonitorTexture ( NTexture texture ) : void
texture NTexture
return void

OpenKeyboard() public method

public OpenKeyboard ( string text, bool autocorrection, bool multiline, bool secure, bool alert, string textPlaceholder, int keyboardType ) : void
text string
autocorrection bool
multiline bool
secure bool
alert bool
textPlaceholder string
keyboardType int
return void

PlayOneShotSound() public method

public PlayOneShotSound ( AudioClip clip ) : void
clip AudioClip
return void

PlayOneShotSound() public method

public PlayOneShotSound ( AudioClip clip, float volumeScale ) : void
clip AudioClip
volumeScale float
return void

ResetInputState() public method

public ResetInputState ( ) : void
return void

SetCustomInput() public method

public SetCustomInput ( RaycastHit &hit, bool buttonDown ) : void
hit RaycastHit
buttonDown bool
return void

SetCustomInput() public method

public SetCustomInput ( RaycastHit &hit, bool buttonDown, bool buttonUp ) : void
hit RaycastHit
buttonDown bool
buttonUp bool
return void

SetCustomInput() public method

public SetCustomInput ( Vector2 screenPos, bool buttonDown ) : void
screenPos Vector2
buttonDown bool
return void

SetCustomInput() public method

public SetCustomInput ( Vector2 screenPos, bool buttonDown, bool buttonUp ) : void
screenPos Vector2
buttonDown bool
buttonUp bool
return void

SortWorldSpacePanelsByZOrder() public method

Adjust display order of all UIPanels rendering in worldspace by their z order.
public SortWorldSpacePanelsByZOrder ( int panelSortingOrder ) : void
panelSortingOrder int Only UIPanel.sortingOrder equals to this value will be involve in this sorting
return void

Stage() public method

public Stage ( ) : System.Collections.Generic
return System.Collections.Generic