NGUI v2.0 Interaction_10_11:UIButtonTween UI按钮补间类 UICheckbox UI复选框

UIButtonTween允许通过脚本激活其他对象的tweener组件。UICheckbox提供简单的复选框功能,若启用'option',则检查时会取消同一父对象下其他所有复选框的选择。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

UIButtonTween

 

 

UIButtonTween Class Reference

UIButtonTween类引用

Attaching this to an object lets you activate tweener components on other objects. More...

将这个脚本附加到一个   允许你激活其他对象tweener组件的对象。更多…

List of all members.

Public Attributes公共属性

GameObject tweenTarget
int tweenGroup = 0
Trigger trigger = Trigger.OnClick
Direction playDirection = Direction.Forward
bool resetOnPlay = false
EnableCondition ifDisabledOnPlay = EnableCondition.DoNothing
DisableCondition disableWhenFinished = DisableCondition.DoNotDisable
bool includeChildren = false

Detailed Description详细描述

Attaching this to an object lets you activate tweener components on other objects.

将这个脚本附加到一个   允许你激活其他对象tweener组件   的对象。


The documentation for this class was generated from the following file:
  • Assets/NGUI/Scripts/Interaction/UIButtonTween.cs

 

 

 

UICheckbox

 

 

UICheckbox Class Reference

UICheckbox类引用

Simple checkbox functionality. If 'option' is enabled, checking this checkbox will uncheck all other checkboxes with the same parent. More...

简单的复选框功能。如果“选项”可用,检查此复选框时   将不检查其他所有和它拥有相同父对象的复选框。更多…

List of all members.

Public Attributes公共属性

UISprite checkSprite
Animation checkAnimation
GameObject eventReceiver
string functionName = "OnActivate"
bool startsChecked = true
bool option = false
bool optionCanBeNone = false

Static Public Attributes静态公共属性

static UICheckbox current

Properties属性

bool isChecked [get, set]
 Whether the checkbox is checked. 
复选框是否选中。

Detailed Description详细描述

Simple checkbox functionality. If 'option' is enabled, checking this checkbox will uncheck all other checkboxes with the same parent.

简单的复选框功能。如果“选项”可用,    检查此复选框时   将不检查其他所有和它拥有相同父对象的复选框。


Property Documentation属性文档

bool UICheckbox.isChecked [get, set]

Whether the checkbox is checked. 复选框是否选中。


The documentation for this class was generated from the following file:
  • Assets/NGUI/Scripts/Interaction/UICheckbox.cs
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值