C# Class FairyGUI.UIPanel

Inheritance: UnityEngine.MonoBehaviour, EMRenderTarget
显示文件 Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Properties

Property Type Description
componentName string
fitScreen FitScreen
packageName string
sortingOrder int

Public Methods

Method Description
ApplyModifiedProperties ( bool sortingOrderChanged, bool fitScreenChanged ) : void
CacheNativeChildrenRenderers ( ) : void

CreateContainer ( ) : void
CreateUI ( ) : void

CreateUI_EditMode ( ) : void
CreateUI_PlayMode ( ) : void
EM_BeforeUpdate ( ) : void
EM_Reload ( ) : void
EM_Update ( UpdateContext context ) : void
GetUIWorldPosition ( ) : Vector3
HandleScreenSizeChanged ( ) : void
MoveUI ( Vector3 delta ) : void
OnDestroy ( ) : void
OnDisable ( ) : void
OnDrawGizmos ( ) : void
OnEnable ( ) : void
OnUpdateSource ( object data ) : void
SetHitTestMode ( HitTestMode value ) : void

SetSortingOrder ( int value, bool apply ) : void

Change the sorting order of the panel in runtime.

Start ( ) : void
Update ( ) : void
UpdateHitArea ( ) : void

Method Details

ApplyModifiedProperties() public method

public ApplyModifiedProperties ( bool sortingOrderChanged, bool fitScreenChanged ) : void
sortingOrderChanged bool
fitScreenChanged bool
return void

CacheNativeChildrenRenderers() public method

public CacheNativeChildrenRenderers ( ) : void
return void

CreateContainer() public method

public CreateContainer ( ) : void
return void

CreateUI() public method

public CreateUI ( ) : void
return void

CreateUI_EditMode() public method

public CreateUI_EditMode ( ) : void
return void

CreateUI_PlayMode() public method

public CreateUI_PlayMode ( ) : void
return void

EM_BeforeUpdate() public method

public EM_BeforeUpdate ( ) : void
return void

EM_Reload() public method

public EM_Reload ( ) : void
return void

EM_Update() public method

public EM_Update ( UpdateContext context ) : void
context UpdateContext
return void

GetUIWorldPosition() public method

public GetUIWorldPosition ( ) : Vector3
return Vector3

HandleScreenSizeChanged() public method

public HandleScreenSizeChanged ( ) : void
return void

MoveUI() public method

public MoveUI ( Vector3 delta ) : void
delta Vector3
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnUpdateSource() public method

public OnUpdateSource ( object data ) : void
data object
return void

SetHitTestMode() public method

public SetHitTestMode ( HitTestMode value ) : void
value HitTestMode
return void

SetSortingOrder() public method

Change the sorting order of the panel in runtime.
public SetSortingOrder ( int value, bool apply ) : void
value int sorting order value
apply bool false if you dont want the default sorting behavior. e.g. call Stage.SortWorldSpacePanelsByZOrder later.
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

UpdateHitArea() public method

public UpdateHitArea ( ) : void
return void

Property Details

componentName public_oe property

public string componentName
return string

fitScreen public_oe property

public FitScreen fitScreen
return FitScreen

packageName public_oe property

public string packageName
return string

sortingOrder public_oe property

public int sortingOrder
return int