Skip to main content

GearDisplay

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

public class GearDisplay : GearBase

Gear is a connection between object and controller.

Inheritance:GearBase → GearDisplay

Inherited members​

GearBase

_controller, _owner, _tweenConfig, disableAllTweenEffect, Dispose, Setup, UpdateFromRelations, controller, tweenConfig

Constructors​

GearDisplay(GObject)​

public GearDisplay(GObject owner);
ParameterTypeDescription
ownerGObject

Source:UI/Gears/GearDisplay.cs (line 19)

Methods​

AddLock()​

public uint AddLock();

Source:UI/Gears/GearDisplay.cs (line 51)

AddStatus(string, ByteBuffer)​

override protected void AddStatus(string pageId, ByteBuffer buffer);
ParameterTypeDescription
pageIdstring
bufferByteBuffer

Source:UI/Gears/GearDisplay.cs (line 25)

Apply()​

override public void Apply();

Source:UI/Gears/GearDisplay.cs (line 34)

Init()​

override protected void Init();

Source:UI/Gears/GearDisplay.cs (line 29)

ReleaseLock(uint)​

public void ReleaseLock(uint token);
ParameterTypeDescription
tokenuint

Source:UI/Gears/GearDisplay.cs (line 57)

UpdateState()​

override public void UpdateState();

Source:UI/Gears/GearDisplay.cs (line 47)

Properties​

connected​

public bool connected { get; }

Source:UI/Gears/GearDisplay.cs (line 63)

pages​

public string[] pages { get; set; }

Pages involed in this gear.

Source:UI/Gears/GearDisplay.cs (line 14)