Skip to main content

UIPainter

Namespace:FairyGUI
Source:Assets/Scripts/UI/UIPainter.cs (line 9)

public class UIPainter : MonoBehaviour, EMRenderTarget

Interfaces:EMRenderTarget

Fields​

componentName​

public string componentName;

Source:UI/UIPainter.cs (line 27)

packageName​

public string packageName;

Source:UI/UIPainter.cs (line 22)

sortingOrder​

public int sortingOrder;

Source:UI/UIPainter.cs (line 32)

Methods​

ApplyModifiedProperties(bool)​

public void ApplyModifiedProperties(bool sortingOrderChanged);
ParameterTypeDescription
sortingOrderChangedbool

Source:UI/UIPainter.cs (line 282)

CreateUI()​

public void CreateUI();

Source:UI/UIPainter.cs (line 159)

EM_BeforeUpdate()​

public void EM_BeforeUpdate();

Source:UI/UIPainter.cs (line 311)

EM_Reload()​

public void EM_Reload();

Source:UI/UIPainter.cs (line 328)

EM_Update(UpdateContext)​

public void EM_Update(UpdateContext context);
ParameterTypeDescription
contextUpdateContext

Source:UI/UIPainter.cs (line 322)

OnUpdateSource(object[])​

public void OnUpdateSource(object[] data);
ParameterTypeDescription
dataobject[]

Source:UI/UIPainter.cs (line 293)

SetSortingOrder(int, bool)​

public void SetSortingOrder(int value, bool apply);

Change the sorting order of the panel in runtime.

ParameterTypeDescription
valueintsorting order value
applyboolfalse if you dont want the default sorting behavior.

Source:UI/UIPainter.cs (line 133)

Properties​

EM_sortingOrder​

public int EM_sortingOrder { get; }

Source:UI/UIPainter.cs (line 306)

container​

public Container container { get; private set; }

Source:UI/UIPainter.cs (line 17)

ui​

public GComponent ui { get; }

Source:UI/UIPainter.cs (line 145)