GearDisplay2
命名空间:FairyGUI
源码:Assets/Scripts/UI/Gears/GearDisplay2.cs (行 9)
public class GearDisplay2 : GearBase
Gear is a connection between object and controller.
继承:GearBase → GearDisplay2
继承成员
_controller, _owner, _tweenConfig, disableAllTweenEffect, Dispose, Setup, UpdateFromRelations, controller, tweenConfig
构造函数
GearDisplay2(GObject)
public GearDisplay2(GObject owner);
| 参数 | 类型 | 说明 |
|---|---|---|
owner | GObject |
源码: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);
| 参数 | 类型 | 说明 |
|---|---|---|
pageId | string | |
buffer | ByteBuffer |
源码:UI/Gears/GearDisplay2.cs (行 24)
Apply()
override public void Apply();
源码:UI/Gears/GearDisplay2.cs (行 33)
Evaluate(bool)
public bool Evaluate(bool connected);
| 参数 | 类型 | 说明 |
|---|---|---|
connected | bool |
源码: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)