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
_controller, _owner, _tweenConfig, disableAllTweenEffect, Dispose, Setup, UpdateFromRelations, controller, tweenConfig
Constructors
GearDisplay(GObject)
public GearDisplay(GObject owner);
| Parameter | Type | Description |
|---|---|---|
owner | GObject |
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);
| Parameter | Type | Description |
|---|---|---|
pageId | string | |
buffer | ByteBuffer |
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);
| Parameter | Type | Description |
|---|---|---|
token | uint |
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)