UIButtonMessage
UIButtonMessage Class Reference
UIButtonMessage类引用
Sends a message to the remote object when something happens. More...
当有事发生时将消息发送给远程对象。更多…
Public Types公共类型 | |
| enum | Trigger |
Public Attributes公共属性 | |
| GameObject | target |
| string | functionName |
| Trigger | trigger = Trigger.OnClick |
| bool | includeChildren = false |
Detailed Description详细描述
Sends a message to the remote object when something happens. 当有事发生时将消息发送给远程对象。
The documentation for this class was generated from the following file:
- Assets/NGUI/Scripts/Interaction/UIButtonMessage.cs
UIButtonMessage类用于当特定事件触发时向远程对象发送消息。该类支持多种触发条件,并能指定目标对象及回调函数名称。通过设置包含子对象选项,开发者可以灵活控制消息传递范围。

5761

被折叠的 条评论
为什么被折叠?



