跳到主要内容

GearDisplay

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

public class GearDisplay : GearBase

Gear is a connection between object and controller.

继承:GearBase → GearDisplay

继承成员​

GearBase

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

构造函数​

GearDisplay(GObject)​

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

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

方法​

AddLock()​

public uint AddLock();

源码:UI/Gears/GearDisplay.cs (行 51)

AddStatus(string, ByteBuffer)​

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

源码:UI/Gears/GearDisplay.cs (行 25)

Apply()​

override public void Apply();

源码:UI/Gears/GearDisplay.cs (行 34)

Init()​

override protected void Init();

源码:UI/Gears/GearDisplay.cs (行 29)

ReleaseLock(uint)​

public void ReleaseLock(uint token);
参数类型说明
tokenuint

源码:UI/Gears/GearDisplay.cs (行 57)

UpdateState()​

override public void UpdateState();

源码:UI/Gears/GearDisplay.cs (行 47)

属性​

connected​

public bool connected { get; }

源码:UI/Gears/GearDisplay.cs (行 63)

pages​

public string[] pages { get; set; }

Pages involed in this gear.

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