C# Класс FairyGUI.Stage

Наследование: Container
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

ApplyPanelOrder() публичный Метод

设置UIPanel/UIPainter等的渲染层次,由UIPanel等内部调用。开发者不需要调用。
public ApplyPanelOrder ( Container target ) : void
target Container
Результат void

CancelClick() публичный Метод

public CancelClick ( int touchId ) : void
touchId int
Результат void

CloseKeyboard() публичный Метод

public CloseKeyboard ( ) : void
Результат void

DisableSound() публичный Метод

public DisableSound ( ) : void
Результат void

EnableSound() публичный Метод

public EnableSound ( ) : void
Результат void

GetAllTouch() публичный Метод

public GetAllTouch ( int result ) : int[]
result int
Результат int[]

GetTouchPosition() публичный Метод

public GetTouchPosition ( int touchId ) : Vector2
touchId int
Результат Vector2

Instantiate() публичный статический Метод

public static Instantiate ( ) : void
Результат void

MonitorTexture() публичный Метод

public MonitorTexture ( NTexture texture ) : void
texture NTexture
Результат void

OpenKeyboard() публичный Метод

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
Результат void

PlayOneShotSound() публичный Метод

public PlayOneShotSound ( AudioClip clip ) : void
clip AudioClip
Результат void

PlayOneShotSound() публичный Метод

public PlayOneShotSound ( AudioClip clip, float volumeScale ) : void
clip AudioClip
volumeScale float
Результат void

ResetInputState() публичный Метод

public ResetInputState ( ) : void
Результат void

SetCustomInput() публичный Метод

public SetCustomInput ( RaycastHit &hit, bool buttonDown ) : void
hit RaycastHit
buttonDown bool
Результат void

SetCustomInput() публичный Метод

public SetCustomInput ( RaycastHit &hit, bool buttonDown, bool buttonUp ) : void
hit RaycastHit
buttonDown bool
buttonUp bool
Результат void

SetCustomInput() публичный Метод

public SetCustomInput ( Vector2 screenPos, bool buttonDown ) : void
screenPos Vector2
buttonDown bool
Результат void

SetCustomInput() публичный Метод

public SetCustomInput ( Vector2 screenPos, bool buttonDown, bool buttonUp ) : void
screenPos Vector2
buttonDown bool
buttonUp bool
Результат void

SortWorldSpacePanelsByZOrder() публичный Метод

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
Результат void

Stage() публичный Метод

public Stage ( ) : System.Collections.Generic
Результат System.Collections.Generic