animationevent 动画事件

2014-12-31 04:46| 发布者: 杨炎| 查看: 1635| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: animationevent 动画事件animationevent lets you call a script function similar to sendmessage as part of playing back an animation.animationevent类似于sendmessage让你调用一个脚本函数,这个脚本是动画播 ...

animationevent 动画事件

animationevent lets you call a script function similar to sendmessage as part of playing back an animation.

animationevent类似于sendmessage让你调用一个脚本函数,这个脚本是动画播放的一部分

animation events support functions that take zero or one parameter. the parameter can be a float, a string, an object reference, or an animationevent.

动画事件支持没有或有一个参数的函数.参数可以是浮点型,字符串,引用对象或animationevent。

variables变量

stringparameter

string parameter that is stored in the event and will be sent to the function.

字符串参数,保持在事件中并发送给函数

floatparameter

float parameter that is stored in the event and will be sent to the function.

浮点型参数,保持在事件中并发送给函数

intparameter

int parameter that is stored in the event and will be sent to the function.

整型参数, 保持在事件中并发送给函数

objectreferenceparameter

object reference parameter that is stored in the event and will be sent to the function.

引用对象参数,保持在事件中并发送给函数

functionname

the name of the function that will be called.

欲调用的函数的名字

time

the time at which the event will be fired off.

引发该事件的时间

messageoptions

function call options.

函数调用选项

animationstate

the animation state that fired this event (read only).

引发事件时的函数状态(只读)

constructors构造器

animationevent

creates a new animation event

创建新的动画事件

相关阅读

文章点评
相关文章