跳到主要内容

GearDisplay2

命名空间:FairyGUI
源码:Assets/Scripts/UI/Gears/GearDisplay2.cs (行 9)

public class GearDisplay2 : GearBase

Gear is a connection between object and controller.

继承:GearBase → GearDisplay2

继承成员​

GearBase

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

构造函数​

GearDisplay2(GObject)​

public GearDisplay2(GObject owner);
参数类型说明
ownerGObject

源码:UI/Gears/GearDisplay2.cs (行 19)

字段​

condition​

public int condition;

源码:UI/Gears/GearDisplay2.cs (行 15)

方法​

AddStatus(string, ByteBuffer)​

override protected void AddStatus(string pageId, ByteBuffer buffer);
参数类型说明
pageIdstring
bufferByteBuffer

源码:UI/Gears/GearDisplay2.cs (行 24)

Apply()​

override public void Apply();

源码:UI/Gears/GearDisplay2.cs (行 33)

Evaluate(bool)​

public bool Evaluate(bool connected);
参数类型说明
connectedbool

源码:UI/Gears/GearDisplay2.cs (行 45)

Init()​

override protected void Init();

源码:UI/Gears/GearDisplay2.cs (行 28)

UpdateState()​

override public void UpdateState();

源码:UI/Gears/GearDisplay2.cs (行 42)

属性​

pages​

public string[] pages { get; set; }

Pages involed in this gear.

源码:UI/Gears/GearDisplay2.cs (行 14)