跳到主要内容

EventListener

命名空间:FairyGUI
源码:Assets/Scripts/Event/EventListener.cs (行 10)

public class EventListener

构造函数​

EventListener(EventDispatcher, string)​

public EventListener(EventDispatcher owner, string type);
参数类型说明
ownerEventDispatcher
typestring

源码:Event/EventListener.cs (行 15)

方法​

Add(EventCallback0)​

public void Add(EventCallback0 callback);
参数类型说明
callbackEventCallback0

源码:Event/EventListener.cs (行 70)

Add(EventCallback1)​

public void Add(EventCallback1 callback);
参数类型说明
callbackEventCallback1

源码:Event/EventListener.cs (行 51)

Add(LuaFunction, GComponent)​

public void Add(LuaFunction func, GComponent self);

编译条件:FAIRYGUI_TOLUA

参数类型说明
funcLuaFunction
selfGComponent

源码:Event/EventListener.cs (行 130)

Add(LuaFunction, LuaTable)​

public void Add(LuaFunction func, LuaTable self);

编译条件:FAIRYGUI_TOLUA

参数类型说明
funcLuaFunction
selfLuaTable

源码:Event/EventListener.cs (行 120)

AddCapture(EventCallback1)​

public void AddCapture(EventCallback1 callback);
参数类型说明
callbackEventCallback1

源码:Event/EventListener.cs (行 33)

BroadcastCall()​

public bool BroadcastCall();

源码:Event/EventListener.cs (行 262)

BroadcastCall(object)​

public bool BroadcastCall(object data);
参数类型说明
dataobject

源码:Event/EventListener.cs (行 253)

BubbleCall()​

public bool BubbleCall();

源码:Event/EventListener.cs (行 243)

BubbleCall(object)​

public bool BubbleCall(object data);
参数类型说明
dataobject

源码:Event/EventListener.cs (行 234)

Call()​

public bool Call();

源码:Event/EventListener.cs (行 214)

Call(object)​

public bool Call(object data);
参数类型说明
dataobject

源码:Event/EventListener.cs (行 224)

Clear()​

public void Clear();

源码:Event/EventListener.cs (行 205)

Remove(EventCallback0)​

public void Remove(EventCallback0 callback);
参数类型说明
callbackEventCallback0

源码:Event/EventListener.cs (行 82)

Remove(EventCallback1)​

public void Remove(EventCallback1 callback);
参数类型说明
callbackEventCallback1

源码:Event/EventListener.cs (行 60)

Remove(LuaFunction, GComponent)​

public void Remove(LuaFunction func, GComponent self);

编译条件:FAIRYGUI_TOLUA

参数类型说明
funcLuaFunction
selfGComponent

源码:Event/EventListener.cs (行 150)

Remove(LuaFunction, LuaTable)​

public void Remove(LuaFunction func, LuaTable self);

编译条件:FAIRYGUI_TOLUA

参数类型说明
funcLuaFunction
selfLuaTable

源码:Event/EventListener.cs (行 140)

RemoveCapture(EventCallback1)​

public void RemoveCapture(EventCallback1 callback);
参数类型说明
callbackEventCallback1

源码:Event/EventListener.cs (行 42)

Set(EventCallback0)​

public void Set(EventCallback0 callback);
参数类型说明
callbackEventCallback0

源码:Event/EventListener.cs (行 105)

Set(EventCallback1)​

public void Set(EventCallback1 callback);
参数类型说明
callbackEventCallback1

源码:Event/EventListener.cs (行 93)

Set(LuaFunction, GComponent)​

public void Set(LuaFunction func, GComponent self);

编译条件:FAIRYGUI_TOLUA

参数类型说明
funcLuaFunction
selfGComponent

源码:Event/EventListener.cs (行 172)

Set(LuaFunction, LuaTable)​

public void Set(LuaFunction func, LuaTable self);

编译条件:FAIRYGUI_TOLUA

参数类型说明
funcLuaFunction
selfLuaTable

源码:Event/EventListener.cs (行 160)

属性​

isDispatching​

public bool isDispatching { get; }

源码:Event/EventListener.cs (行 194)

isEmpty​

public bool isEmpty { get; }

源码:Event/EventListener.cs (行 183)

type​

public string type { get; }

源码:Event/EventListener.cs (行 24)