UIPanel
Namespace:FairyGUI
Source:Assets/Scripts/UI/UIPanel.cs (line 24)
public class UIPanel : MonoBehaviour, EMRenderTarget
Interfaces:EMRenderTarget
Fields
componentName
public string componentName;
Source:UI/UIPanel.cs (line 41)
fitScreen
public FitScreen fitScreen;
Source:UI/UIPanel.cs (line 46)
packageName
public string packageName;
Source:UI/UIPanel.cs (line 36)
sortingOrder
public int sortingOrder;
Source:UI/UIPanel.cs (line 51)
Methods
ApplyModifiedProperties(bool, bool)
public void ApplyModifiedProperties(bool sortingOrderChanged, bool fitScreenChanged);
| Parameter | Type | Description |
|---|---|---|
sortingOrderChanged | bool | |
fitScreenChanged | bool |
Source:UI/UIPanel.cs (line 489)
CacheNativeChildrenRenderers()
public void CacheNativeChildrenRenderers();
Source:UI/UIPanel.cs (line 288)
CreateUI()
public void CreateUI();
Source:UI/UIPanel.cs (line 231)
EM_BeforeUpdate()
public void EM_BeforeUpdate();
Source:UI/UIPanel.cs (line 578)
EM_Reload()
public void EM_Reload();
Source:UI/UIPanel.cs (line 611)
EM_Update(UpdateContext)
public void EM_Update(UpdateContext context);
| Parameter | Type | Description |
|---|---|---|
context | UpdateContext |
Source:UI/UIPanel.cs (line 590)
GetUIWorldPosition()
public Vector3 GetUIWorldPosition();
Source:UI/UIPanel.cs (line 539)
MoveUI(Vector3)
public void MoveUI(Vector3 delta);
| Parameter | Type | Description |
|---|---|---|
delta | Vector3 |
Source:UI/UIPanel.cs (line 528)
SetHitTestMode(HitTestMode)
public void SetHitTestMode(HitTestMode value);
| Parameter | Type | Description |
|---|---|---|
value | HitTestMode |
Source:UI/UIPanel.cs (line 260)
SetSortingOrder(int, bool)
public void SetSortingOrder(int value, bool apply);
Change the sorting order of the panel in runtime.
| Parameter | Type | Description |
|---|---|---|
value | int | sorting order value |
apply | bool | false if you dont want the default sorting behavior. e.g. call Stage.SortWorldSpacePanelsByZOrder later. |
Source:UI/UIPanel.cs (line 247)
Properties
EM_sortingOrder
public int EM_sortingOrder { get; }
Source:UI/UIPanel.cs (line 573)
container
public Container container { get; private set; }
Source:UI/UIPanel.cs (line 31)
ui
public GComponent ui { get; }
Source:UI/UIPanel.cs (line 212)