Skip to main content

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​

GearBase

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

Constructors​

GearDisplay2(GObject)​

public GearDisplay2(GObject owner);
ParameterTypeDescription
ownerGObject

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);
ParameterTypeDescription
pageIdstring
bufferByteBuffer

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);
ParameterTypeDescription
connectedbool

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)