GearDisplay2
Namespace:FairyGUI
Source:Assets/Scripts/UI/Gears/GearDisplay2.cs (line 9)
public class GearDisplay2 : GearBase
Gear is a connection between object and controller.
Inheritance:GearBase → GearDisplay2
Inherited members
_controller, _owner, _tweenConfig, disableAllTweenEffect, Dispose, Setup, UpdateFromRelations, controller, tweenConfig
Constructors
GearDisplay2(GObject)
public GearDisplay2(GObject owner);
| Parameter | Type | Description |
|---|---|---|
owner | GObject |
Source:UI/Gears/GearDisplay2.cs (line 19)
Fields
condition
public int condition;
Source:UI/Gears/GearDisplay2.cs (line 15)
Methods
AddStatus(string, ByteBuffer)
override protected void AddStatus(string pageId, ByteBuffer buffer);
| Parameter | Type | Description |
|---|---|---|
pageId | string | |
buffer | ByteBuffer |
Source:UI/Gears/GearDisplay2.cs (line 24)
Apply()
override public void Apply();
Source:UI/Gears/GearDisplay2.cs (line 33)
Evaluate(bool)
public bool Evaluate(bool connected);
| Parameter | Type | Description |
|---|---|---|
connected | bool |
Source:UI/Gears/GearDisplay2.cs (line 45)
Init()
override protected void Init();
Source:UI/Gears/GearDisplay2.cs (line 28)
UpdateState()
override public void UpdateState();
Source:UI/Gears/GearDisplay2.cs (line 42)
Properties
pages
public string[] pages { get; set; }
Pages involed in this gear.
Source:UI/Gears/GearDisplay2.cs (line 14)