UIPanel
命名空间:FairyGUI
源码:Assets/Scripts/UI/UIPanel.cs (行 24)
public class UIPanel : MonoBehaviour, EMRenderTarget
字段
componentName
public string componentName;
源码:UI/UIPanel.cs (行 41)
fitScreen
public FitScreen fitScreen;
源码:UI/UIPanel.cs (行 46)
packageName
public string packageName;
源码:UI/UIPanel.cs (行 36)
sortingOrder
public int sortingOrder;
源码:UI/UIPanel.cs (行 51)
方法
ApplyModifiedProperties(bool, bool)
public void ApplyModifiedProperties(bool sortingOrderChanged, bool fitScreenChanged);
| 参数 | 类型 | 说明 |
|---|---|---|
sortingOrderChanged | bool | |
fitScreenChanged | bool |
源码:UI/UIPanel.cs (行 489)
CacheNativeChildrenRenderers()
public void CacheNativeChildrenRenderers();
源码:UI/UIPanel.cs (行 288)
CreateUI()
public void CreateUI();
源码:UI/UIPanel.cs (行 231)
EM_BeforeUpdate()
public void EM_BeforeUpdate();
源码:UI/UIPanel.cs (行 578)
EM_Reload()
public void EM_Reload();
源码:UI/UIPanel.cs (行 611)
EM_Update(UpdateContext)
public void EM_Update(UpdateContext context);
| 参数 | 类型 | 说明 |
|---|---|---|
context | UpdateContext |
源码:UI/UIPanel.cs (行 590)
GetUIWorldPosition()
public Vector3 GetUIWorldPosition();
源码:UI/UIPanel.cs (行 539)
MoveUI(Vector3)
public void MoveUI(Vector3 delta);
| 参数 | 类型 | 说明 |
|---|---|---|
delta | Vector3 |
源码:UI/UIPanel.cs (行 528)
SetHitTestMode(HitTestMode)
public void SetHitTestMode(HitTestMode value);
| 参数 | 类型 | 说明 |
|---|---|---|
value | HitTestMode |
源码:UI/UIPanel.cs (行 260)
SetSortingOrder(int, bool)
public void SetSortingOrder(int value, bool apply);
Change the sorting order of the panel in runtime.
| 参数 | 类型 | 说明 |
|---|---|---|
value | int | sorting order value |
apply | bool | false if you dont want the default sorting behavior. e.g. call Stage.SortWorldSpacePanelsByZOrder later. |
源码:UI/UIPanel.cs (行 247)
属性
EM_sortingOrder
public int EM_sortingOrder { get; }
源码:UI/UIPanel.cs (行 573)
container
public Container container { get; private set; }
源码:UI/UIPanel.cs (行 31)
ui
public GComponent ui { get; }
源码:UI/UIPanel.cs (行 212)