NGUI v2.0 Tweening_7:UITweener UI间补类
来源:互联网 发布:秦国 知乎 编辑:程序博客网 时间:2024/06/05 01:09
UITweener
Base class for all tweening operations. More...
基类,用于所有中间计算操作。更多…
Public Types公共类型
enum Methodenum StylePublic Member Functions公共类型
void Play (bool forward) Manually activate the tweening process, reversing it if necessary.手动激活渐变过程,如有必要 可逆转。void Animate (bool forward)void Reset () Manually reset the tweener's state to the beginning.
手动重置tweener的起始状态。void Toggle () Manually start the tweening process, reversing its direction.
手动启动渐变过程,扭转方向。
Static Public Member Functions静态公共成员函数
static T Begin< T > (GameObject go, floatduration) Starts the tweening operation.启动渐变操作。
Public Attributes公共属性
Method method = Method.Linear Tweening method used.是在播放一次?循环吗?float duration = 1f How long is the duration of the tween?
中间的期限是多长?int tweenGroup = 0 Used by buttons and tween sequences. Group of '0' means not in a sequence.
被按钮和中间序列使用。 ‘0’组并不意味着在一个序列。GameObject eventReceiver Target used with 'callWhenFinished', or this game object if none was specified.
目标使用“callWhenFinished’标志 ,或者是这个游戏对象(如果没有指定)。string callWhenFinished Name of the function to call when the tween finishes.
中间过程完成后要调用的函数名。
Protected Member Functions保护成员函数
abstract void OnUpdate (float factor) Actual tweening logic should go here.实际的渐变逻辑应该去这里。
Properties属性
float amountPerDelta [get]
Amount advanced per delta time. 每个时间单位 增量的数量
Detailed Description详细描述
Base class for all tweening operations.
Member Function Documentation成员函数文档
[static]
Starts the tweening operation. 启动渐变操作。
- Type Constraints 类型约束
- T :UITweener
[protected, pure virtual]
Actual tweening logic should go here. 实际的渐变逻辑应该去这里。
Implemented in TweenColor, TweenScale, TweenRotation, TweenPosition, and TweenTransform.
Manually activate the tweening process, reversing it if necessary. 手动激活渐变过程,如有必要 可进行逆转。
Manually reset the tweener's state to the beginning. 手动重置tweener的起始状态。
Manually start the tweening process, reversing its direction. 手动启动渐变过程,扭转方向。
Member Data Documentation成员数据的文档
Name of the function to call when the tween finishes. 中间过程完成后要调用的函数名。
How long is the duration of the tween? 中间的期限是多长?
Target used with 'callWhenFinished', or this game object if none was specified.(上面已有 以下省略)
Tweening method used.
Does it play once? Does it loop?
Used by buttons and tween sequences. Group of '0' means not in a sequence.
Property Documentation
[get]
Amount advanced per delta time.
The documentation for this class was generated from the following file:
- Assets/NGUI/Scripts/Tweening/UITweener.cs
- NGUI v2.0 Tweening_7:UITweener UI间补类
- NGUI v2.0 UI_2:UIAtlas UI图集类
- NGUI所见即所得之UITweener
- NGUI所见即所得之UITweener
- NGUI所见即所得之UITweener
- NGUI之UITweener
- NGUI所见即所得之UITweener
- NGUI所见即所得之UITweener
- NGUI v2.0 UI_1:UIAnchor UI锚定类
- NGUI v2.0 UI_3:UICamera UI摄像机类
- NGUI v2.0 UI_4:UIFilledSprite UI填充精灵类
- NGUI v2.0 Interaction_2:UIButtonColor UI按钮颜色类
- NGUI v2.0 Interaction_3:UIButtonKeys UI按钮按键类
- NGUI v2.0 Interaction_4:UIButtonMessage UI按钮消息类
- NGUI v2.0 Interaction_5:UIButtonOffset UI按钮偏移类
- NGUI v2.0 Interaction_6:UIButtonPlayAnimation UI按钮播放动画类
- NGUI v2.0 Interaction_7:UIButtonRotation UI按钮旋转类
- NGUI v2.0 Interaction_13:UIDragCamera UI拖拽摄像机类
- 对MySQL DELETE语法的详细解析
- 开源免费天气预报接口API以及全国所有地区代码!!(国家气象局提供) .
- Where与子查询
- 最小生成树-Minimum Spanning Tree
- linux下IPTABLES配置详解
- NGUI v2.0 Tweening_7:UITweener UI间补类
- 销售人说话“十大忌”
- 定义函数
- java以及jstl表达式中对HashMap的迭代
- 营销中的“战略非对称”
- Oracle expdp impdp dump参数介绍
- web.xml中load-on-startup的作用
- JSP自定义标签详解1
- iPhone app crash with unknown error