EventListener
命名空间:FairyGUI
源码:Assets/Scripts/Event/EventListener.cs (行 10)
public class EventListener
构造函数
EventListener(EventDispatcher, string)
public EventListener(EventDispatcher owner, string type);
| 参数 | 类型 | 说明 |
|---|---|---|
owner | EventDispatcher | |
type | string |
源码:Event/EventListener.cs (行 15)
方法
Add(EventCallback0)
public void Add(EventCallback0 callback);
| 参数 | 类型 | 说明 |
|---|---|---|
callback | EventCallback0 |
源码:Event/EventListener.cs (行 70)
Add(EventCallback1)
public void Add(EventCallback1 callback);
| 参数 | 类型 | 说明 |
|---|---|---|
callback | EventCallback1 |
源码:Event/EventListener.cs (行 51)
Add(LuaFunction, GComponent)
public void Add(LuaFunction func, GComponent self);
编译条件:
FAIRYGUI_TOLUA
| 参数 | 类型 | 说明 |
|---|---|---|
func | LuaFunction | |
self | GComponent |
源码:Event/EventListener.cs (行 130)
Add(LuaFunction, LuaTable)
public void Add(LuaFunction func, LuaTable self);
编译条件:
FAIRYGUI_TOLUA
| 参数 | 类型 | 说明 |
|---|---|---|
func | LuaFunction | |
self | LuaTable |
源码:Event/EventListener.cs (行 120)
AddCapture(EventCallback1)
public void AddCapture(EventCallback1 callback);
| 参数 | 类型 | 说明 |
|---|---|---|
callback | EventCallback1 |
源码:Event/EventListener.cs (行 33)
BroadcastCall()
public bool BroadcastCall();
源码:Event/EventListener.cs (行 262)
BroadcastCall(object)
public bool BroadcastCall(object data);
| 参数 | 类型 | 说明 |
|---|---|---|
data | object |
源码:Event/EventListener.cs (行 253)
BubbleCall()
public bool BubbleCall();
源码:Event/EventListener.cs (行 243)
BubbleCall(object)
public bool BubbleCall(object data);
| 参数 | 类型 | 说明 |
|---|---|---|
data | object |
源码:Event/EventListener.cs (行 234)
Call()
public bool Call();
源码:Event/EventListener.cs (行 214)
Call(object)
public bool Call(object data);
| 参数 | 类型 | 说明 |
|---|---|---|
data | object |
源码:Event/EventListener.cs (行 224)
Clear()
public void Clear();
源码:Event/EventListener.cs (行 205)
Remove(EventCallback0)
public void Remove(EventCallback0 callback);
| 参数 | 类型 | 说明 |
|---|---|---|
callback | EventCallback0 |
源码:Event/EventListener.cs (行 82)
Remove(EventCallback1)
public void Remove(EventCallback1 callback);
| 参数 | 类型 | 说明 |
|---|---|---|
callback | EventCallback1 |
源码:Event/EventListener.cs (行 60)
Remove(LuaFunction, GComponent)
public void Remove(LuaFunction func, GComponent self);
编译条件:
FAIRYGUI_TOLUA
| 参数 | 类型 | 说明 |
|---|---|---|
func | LuaFunction | |
self | GComponent |
源码:Event/EventListener.cs (行 150)
Remove(LuaFunction, LuaTable)
public void Remove(LuaFunction func, LuaTable self);
编译条件:
FAIRYGUI_TOLUA
| 参数 | 类型 | 说明 |
|---|---|---|
func | LuaFunction | |
self | LuaTable |
源码:Event/EventListener.cs (行 140)
RemoveCapture(EventCallback1)
public void RemoveCapture(EventCallback1 callback);
| 参数 | 类型 | 说明 |
|---|---|---|
callback | EventCallback1 |
源码:Event/EventListener.cs (行 42)
Set(EventCallback0)
public void Set(EventCallback0 callback);
| 参数 | 类型 | 说明 |
|---|---|---|
callback | EventCallback0 |
源码:Event/EventListener.cs (行 105)
Set(EventCallback1)
public void Set(EventCallback1 callback);
| 参数 | 类型 | 说明 |
|---|---|---|
callback | EventCallback1 |
源码:Event/EventListener.cs (行 93)
Set(LuaFunction, GComponent)
public void Set(LuaFunction func, GComponent self);
编译条件:
FAIRYGUI_TOLUA
| 参数 | 类型 | 说明 |
|---|---|---|
func | LuaFunction | |
self | GComponent |
源码:Event/EventListener.cs (行 172)
Set(LuaFunction, LuaTable)
public void Set(LuaFunction func, LuaTable self);
编译条件:
FAIRYGUI_TOLUA
| 参数 | 类型 | 说明 |
|---|---|---|
func | LuaFunction | |
self | LuaTable |
源码: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)