|
楼主 |
发表于 2013-10-28 16:26:24
|
显示全部楼层
Pause Pauses iTweens.
暂停itween. If an iTween is established with “ignoreTimeScale” set to true pause will not currently work. (Sorry)
如果一个iTween设置了”ignoreTimeScale”为true,暂停就不能正确工作(sorry). - Pause(GameObject target) Pause all iTweens on a GameObject.
暂停游戏对象上所有的iTweens. - Pause(GameObject target, bool includechildren) Pause all iTweens on a GameObject including its children.
暂停游戏对象上所有的iTweens包括他的子物体. - Pause(GameObject target, string type) Pause all iTweens on a GameObject of a particular type.
暂停游戏对象上某种类型的所有iTweens. - Pause(GameObject target, string type, bool includechildren) Pause all iTweens on a GameObject of a particular type including its children.
暂停游戏对象上某种类型的所有iTweens,包括他的子物体. - Pause() Pause all iTweens in scene.
暂停场景中所有的iTweens.
PunchPositionApplies a jolt of force to a GameObject’s position and wobbles it back to its initial position.
使用一个震动的力量给游戏对象的位置使他晃动到他的原始位置. - PunchPosition(GameObject target, Vector3 amount, float time)
- PunchPosition(GameObject target, Hashtable args)
Property Name
属性名称 | Type
类型 | Purpose>
用途 | name | string | an individual name useful for stopping iTweens by name
根据独立的名字用于停止iTweens。 | amount | Vector3 | for a point in space the GameObject will animate to.
游戏对象将会动画到世界空间中的一点。 | x | float or double | for the individual setting of the x magnitude
独立设置X轴向的大小。 | y | float or double | for the individual setting of the y magnitude
独立设置Y轴向的大小。 | z | float or double | for the individual setting of the z magnitude
独立设置Z轴向的大小。 | space | Space | for applying the transformation in either the world coordinate or local coordinate system. Defaults to local space.
应用于世界坐标系和本地坐标系的转换。默认是本地空间。 | looktarget | Transform or Vector3 | for a target the GameObject will look at
要监视的游戏对象目标。 | looktime | float or double | for the time in seconds the object will take to look at either the “looktarget” or “orienttopath”
“looktarget”或“orienttopath”需要监视的时间。 | axis | string | restricts rotation to the supplied axis only
限制只旋转提供的轴向。 | time | float or double | for the time in seconds the animation will take to complete
完成动画需要的时间。 | delay | float or double | for the time in seconds the animation will wait before beginning
开始动画之前等待的时间。 | looptype | LoopType or string | for the type of loop to apply once the animation has completed (only “loop” is allowed with punches)
一旦动画完成,循环使用的类型(只有是punches时可以允许”loop”)。 | onstart | string | for the name of a function to launch at the beginning of the animation
一个函数的名字来启动开始的动画。 | onstarttarget | GameObject | for a reference to the GameObject that holds the “onstart” method
游戏对象的引用,用来得到“onstart”方法。 | onstartparams | Object | for arguments to be sent to the “onstart” method
发送给“onstart”方法的参数。 | onupdate | string | for the name of a function to launch on every step of the animation
函数的名字在动画每步中启动。 | onupdatetarget | GameObject | for a reference to the GameObject that holds the “onupdate” method
游戏对象的引用,用来得到“onupdate”方法。 | onupdateparams | Object | for arguments to be sent to the “onupdate” method
发送给“onupdate”的参数。 | oncomplete | string | for the name of a function to launch at the end of the animation
函数的名字启动结束动画。 | oncompletetarget | GameObject | for a reference to the GameObject that holds the “oncomplete” method
游戏对象的引用,用来得到“oncomplete”方法。 | oncompleteparams | Object | for arguments to be sent to the “oncomplete” method
发送给“oncomplete”方法的参数。 | ignoretimescale | boolean | setting this to true will allow the animation to continue independent of the current time which is helpful for animating menus after a game has been paused by setting Time.timeScale=0
设置为true将会允许动画继续当前的时间,这个在游戏通过设置Time.timeScale=0之后暂停游戏后的菜单动画很有用。 |
PunchRotationApplies a jolt of force to a GameObject’s rotation and wobbles it back to its initial rotation. NOTE: Due to the way iTween utilizes the Transform.Rotate method, PunchRotation works best with single axis usage rather than punching with a Vector3.
使用一个震动的力量给游戏对象的旋转使他晃动到他的原始旋转.注意:由于iTween是利用Transform.Rotate方法,所以PunchRotation用于单轴旋转比punching要工作的好. - PunchRotation(GameObject target, Vector3 amount, float time)
- PunchRotation(GameObject target, Hashtable args)
Property Name
属性名称 | Type
类型 | Purpose
用途 | name | string | an individual name useful for stopping iTweens by name
根据独立的名字用于停止iTweens。 | amount | Vector3 | for a point in space the GameObject will animate to.
游戏对象将会动画到世界空间中的一点。 | x | float or double | for the individual setting of the x magnitude
独立设置X轴向的大小。 | y | float or double | for the individual setting of the y magnitude
独立设置Y轴向的大小。 | z | float or double | for the individual setting of the z magnitude
独立设置Z轴向的大小。 | space | Space | for applying the transformation in either the world coordinate or local cordinate system. Defaults to local space.
应用于世界坐标系和本地坐标系的转换。默认是本地空间。 | time | float or double | for the time in seconds the animation will take to complete
完成动画需要的时间。 | delay | float or double | for the time in seconds the animation will wait before beginning
开始动画之前等待的时间。 | looptype | LoopType or string | for the type of loop to apply once the animation has completed (only “loop” is allowed with punches)
一旦动画完成,循环使用的类型(只有是punches时可以允许”loop”)。 | onstart | string | for the name of a function to launch at the beginning of the animation
一个函数的名字来启动开始的动画。 | onstarttarget | GameObject | for a reference to the GameObject that holds the “onstart” method
游戏对象的引用,用来得到“onstart”方法。 | onstartparams | Object | for arguments to be sent to the “onstart” method
发送给“onstart”方法的参数。 | onupdate | string | for the name of a function to launch on every step of the animation
函数的名字在动画每步中启动。 | onupdatetarget | GameObject | for a reference to the GameObject that holds the “onupdate” method
游戏对象的引用,用来得到“onupdate”方法。 | onupdateparams | Object | for arguments to be sent to the “onupdate” method
发送给“onupdate”的参数。 | oncomplete | string | for the name of a function to launch at the end of the animation
函数的名字启动结束动画。 | oncompletetarget | GameObject | for a reference to the GameObject that holds the “oncomplete” method
游戏对象的引用,用来得到“oncomplete”方法。 | oncompleteparams | Object | for arguments to be sent to the “oncomplete” method
发送给“oncomplete”方法的参数。 | ignoretimescale | boolean | setting this to true will allow the animation to continue independent of the current time which is helpful for animating menus after a game has been paused by setting Time.timeScale=0
设置为true将会允许动画继续当前的时间,这个在游戏通过设置Time.timeScale=0之后暂停游戏后的菜单动画很有用。 |
PunchScaleApplies a jolt of force to a GameObject’s scale and wobbles it back to its initial scale.
使用一个震动的力量给游戏对象的缩放使他晃动到他的原始缩放. - PunchScale(GameObject target, Vector3 amount, float time)
- PunchScale(GameObject target, Hashtable args)
Property Name
属性名称 | Type
类型 | Purpose
用途 | name | string | an individual name useful for stopping iTweens by name
根据独立的名字用于停止iTweens。 | amount | Vector3 | for a point in space the GameObject will animate to.
游戏对象将会动画到世界空间中的一点。 | x | float or double | for the individual setting of the x magnitude
独立设置X轴向的大小。 | y | float or double | for the individual setting of the y magnitude
独立设置Y轴向的大小。 | z | float or double | for the individual setting of the z magnitude
独立设置Z轴向的大小。 | time | float or double | for the time in seconds the animation will take to complete
完成动画需要的时间。 | delay | float or double | for the time in seconds the animation will wait before beginning
开始动画之前等待的时间。 | looptype | LoopType or string | for the type of loop to apply once the animation has completed (only “loop” is allowed with punches)
一旦动画完成,循环使用的类型(只有是punches时可以允许”loop”)。 | onstart | string | for the name of a function to launch at the beginning of the animation
一个函数的名字来启动开始的动画。 | onstarttarget | GameObject | for a reference to the GameObject that holds the “onstart” method
游戏对象的引用,用来得到“onstart”方法。 | onstartparams | Object | for arguments to be sent to the “onstart” method
发送给“onstart”方法的参数。 | onupdate | string | for the name of a function to launch on every step of the animation
函数的名字在动画每步中启动。 | onupdatetarget | GameObject | for a reference to the GameObject that holds the “onupdate” method
游戏对象的引用,用来得到“onupdate”方法。 | onupdateparams | Object | for arguments to be sent to the “onupdate” method
发送给“onupdate”的参数。 | oncomplete | string | for the name of a function to launch at the end of the animation
函数的名字启动结束动画。 | oncompletetarget | GameObject | for a reference to the GameObject that holds the “oncomplete” method
游戏对象的引用,用来得到“oncomplete”方法。 | oncompleteparams | Object | for arguments to be sent to the “oncomplete” method
发送给“oncomplete”方法的参数。 | ignoretimescale | boolean | setting this to true will allow the animation to continue independent of the current time which is helpful for animating menus after a game has been paused by setting Time.timeScale=0
设置为true将会允许动画继续当前的时间,这个在游戏通过设置Time.timeScale=0之后暂停游戏后的菜单动画很有用。 |
PutOnPathPuts a GameObject on a path at the provided percentage
根据提供的百分比放置游戏对象的路径. - PutOnPath(GameObject target, Vector3[] path, float percent)
- PutOnPath(GameObject target, Transform[] path, float percent)
- PutOnPath(Transform target, Vector3[] path, float percent)
- PutOnPath(Transform target, Transform[] path, float percent)
PointOnPathReturns a Vector3 position on a path at the provided percentage.
根据提供的百分比返回一个路径上的Vector3位置. - PointOnPath(Transform[] path, float percent)
- PointOnPath(Vector3[] path, float percent)
RectUpdateReturns a Rect that is eased between a current and target value by the supplied speed.
通过提供的加速度返回一个用于缓冲当前和目标值之间的一个矩形. - RectUpdate(Rect currentValue, Rect targetValue, float speed) : Rect
ResumeResumes iTweens.
从新开始iTween. - Resume(GameObject target) Resume all iTweens on a GameObject
重新开始游戏对象上的所有的iTween. - Resume(GameObject target, bool includechildren) Resume all iTweens on a GameObject including its children.
重新开始游戏对象上的所有的iTween包括他的子物体. - Resume(GameObject target, string type) Resume all iTweens on a GameObject of a particular type.
重新开始游戏对象上某种类型的所有iTweens. - Resume(GameObject target, string type, bool includechildren) Resume all iTweens on a GameObject of a particular type including its children.
重新开始游戏对象上某种类型的所有iTweens包括他的子物体. - Resume() Resume all iTweens in scene.
重新开始场景中所有的iTween.
RotateAddAdds supplied Euler angles in degrees to a GameObject’s rotation over time.
随着游戏对象的旋转在某角度下添加指定的欧拉角. - RotateAdd(GameObject target, Vector3 amount, float time)
- RotateAdd(GameObject target, Hashtable args)
Property Name
属性名称 | Type
类型 | Purpose
用途 | name | string | an individual name useful for stopping iTweens by name
根据独立的名字用于停止iTweens。 | amount | Vector3 | for the amount of Euler angles in degrees to add to the current rotation of the GameObject.
添加到当前游戏对象旋转角度上的欧拉角数量. | x | float or double | for the individual setting of the x axis
独立设置X轴向。 | y | float or double | for the individual setting of the y axis
独立设置Y轴向。 | z | float or double | for the individual setting of the z axis
独立设置Z轴向。 | space | Space or string | for applying the transformation in either the world coordinate or local cordinate system. Defaults to local space.
应用于世界坐标系和本地坐标系的转换。默认是本地空间。 | time | float or double | for the time in seconds the animation will take to complete
完成动画需要的时间。 | speed | float or double | can be used instead of time to allow animation based on speed
可以用于替代时间允许动画基于速度播放. | delay | float or double | for the time in seconds the animation will wait before beginning
开始动画之前等待的时间。 | easetype | EaseType or string | for the shape of the easing curve applied to the animation
动画使用的缓动曲线的形状。 | looptype | LoopType or string | for the type of loop to apply once the animation has completed
一旦动画完成,循环使用的类型。 | onstart | string | for the name of a function to launch at the beginning of the animation
一个函数的名字来启动开始的动画。 | onstarttarget | GameObject | for a reference to the GameObject that holds the “onstart” method
游戏对象的引用,用来得到“onstart”方法。 | onstartparams | Object | for arguments to be sent to the “onstart” method
发送给“onstart”方法的参数。 | onupdate | string | for the name of a function to launch on every step of the animation
函数的名字在动画每步中启动。 | onupdatetarget | GameObject | for a reference to the GameObject that holds the “onupdate” method | onupdateparams | Object | for arguments to be sent to the “onupdate” method
游戏对象的引用,用来得到“onupdate”方法。 | oncomplete | string | for the name of a function to launch at the end of the animation
函数的名字启动结束动画。 | oncompletetarget | GameObject | for a reference to the GameObject that holds the “oncomplete” method
游戏对象的引用,用来得到“oncomplete”方法。 | oncompleteparams | Object | for arguments to be sent to the “oncomplete” method
发送给“oncomplete”方法的参数。 | ignoretimescale | boolean | setting this to true will allow the animation to continue independent of the current time which is helpful for animating menus after a game has been paused by setting Time.timeScale=0
设置为true将会允许动画继续当前的时间,这个在游戏通过设置Time.timeScale=0之后暂停游戏后的菜单动画很有用。 |
RotateByMultiplies supplied values by 360 and rotates a GameObject by calculated amount over time.
随着时间倍增旋转游戏对象的值,直到到达360. - RotateBy(GameObject target, Vector3 amount, float time)
- RotateBy(GameObject target, Hashtable args)
Property Name
属性名称 | Type
类型 | Purpose
用途 | name | string | an individual name useful for stopping iTweens by name
根据独立的名字用于停止iTweens。 | amount | Vector3 | for the amount to be multiplied by 360 to rotate the GameObject.
旋转游戏对象倍增到360的数量. | x | float or double | for the individual setting of the x axis
独立设置X轴向。 | y | float or double | for the individual setting of the y axis
独立设置Y轴向。 | z | float or double | for the individual setting of the z axis
独立设置Z轴向。 | space | Space or string | for applying the transformation in either the world coordinate or local cordinate system. Defaults to local space.
应用于世界坐标系和本地坐标系的转换。默认是本地空间。 | time | float or double | for the time in seconds the animation will take to complete
完成动画需要的时间。 | speed | float or double | can be used instead of time to allow animation based on speed
可以用于替代时间允许动画基于速度播放. | delay | float or double | for the time in seconds the animation will wait before beginning
开始动画之前等待的时间。 | easetype | EaseType or string | for the shape of the easing curve applied to the animation
动画使用的缓动曲线的形状。 | looptype | LoopType or string | for the type of loop to apply once the animation has completed
一旦动画完成,循环使用的类型。 | onstart | string | for the name of a function to launch at the beginning of the animation
一个函数的名字来启动开始的动画。 | onstarttarget | GameObject | for a reference to the GameObject that holds the “onstart” method
游戏对象的引用,用来得到“onstart”方法。 | onstartparams | Object | for arguments to be sent to the “onstart” method
发送给“onstart”方法的参数。 | onupdate | string | for the name of a function to launch on every step of the animation
函数的名字在动画每步中启动。 | onupdatetarget | GameObject | for a reference to the GameObject that holds the “onupdate” method
游戏对象的引用,用来得到“onupdate”方法。 | onupdateparams | Object | for arguments to be sent to the “onupdate” method
发送给“onupdate”的参数。 | oncomplete | string | for the name of a function to launch at the end of the animation
函数的名字启动结束动画。 | oncompletetarget | GameObject | for a reference to the GameObject that holds the “oncomplete” method
游戏对象的引用,用来得到“oncomplete”方法。 | oncompleteparams | Object | for arguments to be sent to the “oncomplete” method
发送给“oncomplete”方法的参数。 | ignoretimescale | boolean | setting this to true will allow the animation to continue independent of the current time which is helpful for animating menus after a game has been paused by setting Time.timeScale=0
设置为true将会允许动画继续当前的时间,这个在游戏通过设置Time.timeScale=0之后暂停游戏后的菜单动画很有用。 |
RotateFromInstantly changes a GameObject’s Euler angles in degrees then returns it to it’s starting rotation over time.
立即改变游戏对象的欧拉角度在角度上,然后随着时间返回到他开始时候的旋转. - RotateFrom(GameObject target, Vector3 rotation, float time)
- RotateFrom(GameObject target, Hashtable args)
Property Name
属性名称 | Type
类型 | Purpose
用途 | name | string | an individual name useful for stopping iTweens by name
根据独立的名字用于停止iTweens。 | rotation | Transform or Vector3 | for the target Euler angles in degrees to rotate to.
在角度上旋转到的目标欧拉角角度. | x | float or double | for the individual setting of the x axis
独立设置X轴向。 | y | float or double | for the individual setting of the y axis
独立设置Y轴向。 | z | float or double | for the individual setting of the z axis
独立设置Z轴向。 | islocal | boolean | for whether to animate in world space or relative to the parent. False be default.
是否在世界空间动画或相对于父物体动画。默认是false。 | time | float or double | for the time in seconds the animation will take to complete
完成动画需要的时间。 | speed | float or double | can be used instead of time to allow animation based on speed
可以用于替代时间允许动画基于速度播放. | delay | float or double | for the time in seconds the animation will wait before beginning
开始动画之前等待的时间。 | easetype | EaseType or string | for the shape of the easing curve applied to the animation
动画使用的缓动曲线的形状。 | looptype | LoopType or string | for the type of loop to apply once the animation has completed
一旦动画完成,循环使用的类型。 | onstart | string | for the name of a function to launch at the beginning of the animation
一个函数的名字来启动开始的动画。 | onstarttarget | GameObject | for a reference to the GameObject that holds the “onstart” method
游戏对象的引用,用来得到“onstart”方法。 | onstartparams | Object | for arguments to be sent to the “onstart” method
发送给“onstart”方法的参数。 | onupdate | string | for the name of a function to launch on every step of the animation
函数的名字在动画每步中启动。 | onupdatetarget | GameObject | for a reference to the GameObject that holds the “onupdate” method | onupdateparams | Object | for arguments to be sent to the “onupdate” method
游戏对象的引用,用来得到“onupdate”方法。 | oncomplete | string | for the name of a function to launch at the end of the animation
函数的名字启动结束动画。 | oncompletetarget | GameObject | for a reference to the GameObject that holds the “oncomplete” method
游戏对象的引用,用来得到“oncomplete”方法。 | oncompleteparams | Object | for arguments to be sent to the “oncomplete” method
发送给“oncomplete”方法的参数。 | ignoretimescale | boolean | setting this to true will allow the animation to continue independent of the current time which is helpful for animating menus after a game has been paused by setting Time.timeScale=0
设置为true将会允许动画继续当前的时间,这个在游戏通过设置Time.timeScale=0之后暂停游戏后的菜单动画很有用。 |
RotateToRotates a GameObject to the supplied Euler angles in degrees over time.
随着时间在角度上旋转游戏对象到提供的欧拉角角度. - RotateTo(GameObject target, Vector3 rotation, float time)
- RotateTo(GameObject target, Hashtable args)
Property Name
属性名称 | Type
类型 | Purpose
用途 | name | string | an individual name useful for stopping iTweens by name
根据独立的名字用于停止iTweens。 | rotation | Transform or Vector3 | for the target Euler angles in degrees to rotate to.
在角度上旋转到的目标欧拉角角度. | x | float or double | for the individual setting of the x axis
独立设置X轴向。 | y | float or double | for the individual setting of the y axis
独立设置Y轴向。 | z | float or double | for the individual setting of the z axis
独立设置Z轴向。 | islocal | boolean | for whether to animate in world space or relative to the parent. False be default.
是否在世界空间动画或相对于父物体动画。默认是false。 | time | float or double | for the time in seconds the animation will take to complete
完成动画需要的时间。 | speed | float or double | can be used instead of time to allow animation based on speed
可以用于替代时间允许动画基于速度播放. | delay | float or double | for the time in seconds the animation will wait before beginning
开始动画之前等待的时间。 | easetype | EaseType or string | for the shape of the easing curve applied to the animation
动画使用的缓动曲线的形状。 | looptype | LoopType or string | for the type of loop to apply once the animation has completed
一旦动画完成,循环使用的类型。 | onstart | string | for the name of a function to launch at the beginning of the animation
一个函数的名字来启动开始的动画。 | onstarttarget | GameObject | for a reference to the GameObject that holds the “onstart” method
游戏对象的引用,用来得到“onstart”方法。 | onstartparams | Object | for arguments to be sent to the “onstart” method
发送给“onstart”方法的参数。 | onupdate | string | for the name of a function to launch on every step of the animation
函数的名字在动画每步中启动。 | onupdatetarget | GameObject | for a reference to the GameObject that holds the “onupdate” method
游戏对象的引用,用来得到“onupdate”方法。 | onupdateparams | Object | for arguments to be sent to the “onupdate” method
发送给“onupdate”的参数。 | oncomplete | string | for the name of a function to launch at the end of the animation
函数的名字启动结束动画。 | oncompletetarget | GameObject | for a reference to the GameObject that holds the “oncomplete” method
游戏对象的引用,用来得到“oncomplete”方法。 | oncompleteparams | Object | for arguments to be sent to the “oncomplete” method
发送给“oncomplete”方法的参数。 | ignoretimescale | boolean | setting this to true will allow the animation to continue independent of the current time which is helpful for animating menus after a game has been paused by setting Time.timeScale=0
设置为true将会允许动画继续当前的时间,这个在游戏通过设置Time.timeScale=0之后暂停游戏后的菜单动画很有用。 |
RotateUpdateSimilar to RotateTo but incredibly less expensive for usage inside the Update function or similar looping situations involving a “live” set of changing values. Does not utilize an EaseType.
和RotateTo相似,但是在使用Update函数时会令人难以置信的提高性能,或类似循环的情况下涉及“live”设置改变值。不在使用EaseType。 - RotateUpdate(GameObject target, Hashtable args)
- RotateUpdate(GameObject target, Vector3 rotation, float time)
Property Name
属性名称 | Type
类型 | Purpose
用途 | rotation | Transform or Vector3 | for the target Euler angles in degrees to rotate to.
在角度上旋转到的目标欧拉角角度. | x | float or double | for the individual setting of the x axis
独立设置X轴向。 | y | float or double | for the individual setting of the y axis
独立设置Y轴向。 | z | float or double | for the individual setting of the z axis
独立设置Z轴向。 | islocal | boolean | for whether to animate in world space or relative to the parent. False be default.
是否在世界空间动画或相对于父物体动画。默认是false。 | time | float or double | for the time in seconds the animation will take to complete
完成动画需要的时间。 |
ScaleAddAdds to a GameObject’s scale over time.
随着时间的改变添加游戏对象的缩放. - ScaleAdd(GameObject target, Vector3 amount, float time)
- ScaleAdd(GameObject target, Hashtable args)
Property Name
属性名称 | Type
类型 | Purpose
用途 | name | string | an individual name useful for stopping iTweens by name
根据独立的名字用于停止iTweens。 | amount | Vector3 | for the amount to be added to the GameObject’s current scale
添加到当前缩放的数量. | x | float or double | for the individual setting of the x axis
独立设置X轴向。 | y | float or double | for the individual setting of the y axis
独立设置Y轴向。 | z | float or double | for the individual setting of the z axis
独立设置Z轴向。 | time | float or double | for the time in seconds the animation will take to complete
完成动画需要的时间。 | speed | float or double | can be used instead of time to allow animation based on speed
可以用于替代时间允许动画基于速度播放. | delay | float or double | for the time in seconds the animation will wait before beginning
开始动画之前等待的时间。 | easetype | EaseType or string | for the shape of the easing curve applied to the animation
动画使用的缓动曲线的形状。 | looptype | LoopType or string | for the type of loop to apply once the animation has completed
一旦动画完成,循环使用的类型。 | onstart | string | for the name of a function to launch at the beginning of the animation
一个函数的名字来启动开始的动画。 | onstarttarget | GameObject | for a reference to the GameObject that holds the “onstart” method
游戏对象的引用,用来得到“onstart”方法。 | onstartparams | Object | for arguments to be sent to the “onstart” method
发送给“onstart”方法的参数。 | onupdate | string | for the name of a function to launch on every step of the animation
函数的名字在动画每步中启动。 | onupdatetarget | GameObject | for a reference to the GameObject that holds the “onupdate” method
游戏对象的引用,用来得到“onupdate”方法。 | onupdateparams | Object | for arguments to be sent to the “onupdate” method
发送给“onupdate”的参数。 | oncomplete | string | for the name of a function to launch at the end of the animation
函数的名字启动结束动画。 | oncompletetarget | GameObject | for a reference to the GameObject that holds the “oncomplete” method
游戏对象的引用,用来得到“oncomplete”方法。 | oncompleteparams | Object | for arguments to be sent to the “oncomplete” method
发送给“oncomplete”方法的参数。 | ignoretimescale | boolean | setting this to true will allow the animation to continue independent of the current time which is helpful for animating menus after a game has been paused by setting Time.timeScale=0
设置为true将会允许动画继续当前的时间,这个在游戏通过设置Time.timeScale=0之后暂停游戏后的菜单动画很有用。 |
ScaleByMultiplies a GameObject’s scale over time.
随着时间倍增游戏对象的缩放. - ScaleBy(GameObject target, Vector3 amount, float time)
- ScaleBy(GameObject target, Hashtable args)
Property Name
属性名称 | Type
类型 | Purpose
用途 | name | string | an individual name useful for stopping iTweens by name
根据独立的名字用于停止iTweens。 | amount | Vector3 | for the amount to be added to the GameObject’s current scale
添加到当前缩放的数量. | x | float or double | for the individual setting of the x axis
独立设置X轴向。 | y | float or double | for the individual setting of the y axis
独立设置Y轴向。 | z | float or double | for the individual setting of the z axis
独立设置Z轴向。 | time | float or double | for the time in seconds the animation will take to complete
完成动画需要的时间。 | speed | float or double | can be used instead of time to allow animation based on speed
可以用于替代时间允许动画基于速度播放. | delay | float or double | for the time in seconds the animation will wait before beginning
开始动画之前等待的时间。 | easetype | EaseType or string | for the shape of the easing curve applied to the animation
动画使用的缓动曲线的形状。 | looptype | LoopType or string | for the type of loop to apply once the animation has completed
一旦动画完成,循环使用的类型。 | onstart | string | for the name of a function to launch at the beginning of the animation
一个函数的名字来启动开始的动画。 | onstarttarget | GameObject | for a reference to the GameObject that holds the “onstart” method
游戏对象的引用,用来得到“onstart”方法。 | onstartparams | Object | for arguments to be sent to the “onstart” method
发送给“onstart”方法的参数。 | onupdate | string | for the name of a function to launch on every step of the animation
函数的名字在动画每步中启动。 | onupdatetarget | GameObject | for a reference to the GameObject that holds the “onupdate” method
游戏对象的引用,用来得到“onupdate”方法。 | onupdateparams | Object | for arguments to be sent to the “onupdate” method
发送给“onupdate”的参数。 | oncomplete | string | for the name of a function to launch at the end of the animation
函数的名字启动结束动画。 | oncompletetarget | GameObject | for a reference to the GameObject that holds the “oncomplete” method
游戏对象的引用,用来得到“oncomplete”方法。 | oncompleteparams | Object | for arguments to be sent to the “oncomplete” method
发送给“oncomplete”方法的参数。 | ignoretimescale | boolean | setting this to true will allow the animation to continue independent of the current time which is helpful for animating menus after a game has been paused by setting Time.timeScale=0
设置为true将会允许动画继续当前的时间,这个在游戏通过设置Time.timeScale=0之后暂停游戏后的菜单动画很有用。 |
ScaleFromInstantly changes a GameObject’s scale then returns it to it’s starting scale over time.
立刻改变游戏对象的缩放然后随着时间返回到他的开始缩放. - ScaleFrom(GameObject target, Vector3 scale, float time)
- ScaleFrom(GameObject target, Hashtable args)
Property Name
属性名称 | Type
类型 | Purpose
用途 | name | string | an individual name useful for stopping iTweens by name
根据独立的名字用于停止iTweens。 | scale | Transform or Vector3 | for the initial scale
原始的缩放. | x | float or double | for the individual setting of the x axis
独立设置X轴向。 | y | float or double | for the individual setting of the y axis
独立设置Y轴向。 | z | float or double | for the individual setting of the z axis
独立设置Z轴向。 | time | float or double | for the time in seconds the animation will take to complete
完成动画需要的时间。 | speed | float or double | can be used instead of time to allow animation based on speed
可以用于替代时间允许动画基于速度播放. | delay | float or double | for the time in seconds the animation will wait before beginning
开始动画之前等待的时间。 | easetype | EaseType or string | for the shape of the easing curve applied to the animation
动画使用的缓动曲线的形状。 | looptype | LoopType or string | for the type of loop to apply once the animation has completed
一旦动画完成,循环使用的类型。 | onstart | string | for the name of a function to launch at the beginning of the animation
一个函数的名字来启动开始的动画。 | onstarttarget | GameObject | for a reference to the GameObject that holds the “onstart” method
游戏对象的引用,用来得到“onstart”方法。 | onstartparams | Object | for arguments to be sent to the “onstart” method
发送给“onstart”方法的参数。 | onupdate | string | for the name of a function to launch on every step of the animation
函数的名字在动画每步中启动。 | onupdatetarget | GameObject | for a reference to the GameObject that holds the “onupdate” method
游戏对象的引用,用来得到“onupdate”方法。 | onupdateparams | Object | for arguments to be sent to the “onupdate” method
发送给“onupdate”的参数。 | oncomplete | string | for the name of a function to launch at the end of the animation
函数的名字启动结束动画。 | oncompletetarget | GameObject | for a reference to the GameObject that holds the “oncomplete” method
游戏对象的引用,用来得到“oncomplete”方法。 | oncompleteparams | Object | for arguments to be sent to the “oncomplete” method
发送给“oncomplete”方法的参数。 | ignoretimescale | boolean | setting this to true will allow the animation to continue independent of the current time which is helpful for animating menus after a game has been paused by setting Time.timeScale=0
设置为true将会允许动画继续当前的时间,这个在游戏通过设置Time.timeScale=0之后暂停游戏后的菜单动画很有用。 |
ScaleToChanges a GameObject’s scale over time.
随着时间改变物体的缩放. - ScaleTo(GameObject target, Vector3 scale, float time)
- ScaleTo(GameObject target, Hashtable args)
Property Name
属性名称 | Type
类型 | Purpose
用途 | name | string | an individual name useful for stopping iTweens by name
根据独立的名字用于停止iTweens。 | scale | Transform or Vector3 | for the initial scale
原始的缩放. | x | float or double | for the individual setting of the x axis
独立设置X轴向。 | y | float or double | for the individual setting of the y axis
独立设置Y轴向。 | z | float or double | for the individual setting of the z axis
独立设置Z轴向。 | time | float or double | for the time in seconds the animation will take to complete
完成动画需要的时间。 | speed | float or double | can be used instead of time to allow animation based on speed
可以用于替代时间允许动画基于速度播放. | delay | float or double | for the time in seconds the animation will wait before beginning
开始动画之前等待的时间。 | easetype | EaseType or string | for the shape of the easing curve applied to the animation
动画使用的缓动曲线的形状。 | looptype | LoopType or string | for the type of loop to apply once the animation has completed
一旦动画完成,循环使用的类型。 | onstart | string | for the name of a function to launch at the beginning of the animation
一个函数的名字来启动开始的动画。 | onstarttarget | GameObject | for a reference to the GameObject that holds the “onstart” method
游戏对象的引用,用来得到“onstart”方法。 | onstartparams | Object | for arguments to be sent to the “onstart” method
发送给“onstart”方法的参数。 | onupdate | string | for the name of a function to launch on every step of the animation
函数的名字在动画每步中启动。 | onupdatetarget | GameObject | for a reference to the GameObject that holds the “onupdate” method
游戏对象的引用,用来得到“onupdate”方法。 | onupdateparams | Object | for arguments to be sent to the “onupdate” method
发送给“onupdate”的参数。 | oncomplete | string | for the name of a function to launch at the end of the animation
函数的名字启动结束动画。 | oncompletetarget | GameObject | for a reference to the GameObject that holds the “oncomplete” method
游戏对象的引用,用来得到“oncomplete”方法。 | oncompleteparams | Object | for arguments to be sent to the “oncomplete” method
发送给“oncomplete”方法的参数。 | ignoretimescale | boolean | setting this to true will allow the animation to continue independent of the current time which is helpful for animating menus after a game has been paused by setting Time.timeScale=0
设置为true将会允许动画继续当前的时间,这个在游戏通过设置Time.timeScale=0之后暂停游戏后的菜单动画很有用。 |
|
|