unity怎么判断动画结束?
有两个相机动画,想循环这来回播放,应该怎么处理代码啊?我想的是先判断animation播放结束在播放animation2,可惜没成功,呜呜,求救啊,各位大爷!! // Plays an animation only if we are not playing it already.function OnMouseEnter() {
if (!animation.isPlaying)
animation.Play();
}
第二种:
// Plays an animation only if we are not playing it already.
function OnMouseEnter() {
if (!animation.IsPlaying("mouseOverEffect"))
animation.Play("mouseOverEffect");
} monery8 发表于 2013-1-9 17:22 static/image/common/back.gif
// Plays an animation only if we are not playing it already.
function OnMouseEnter() {
if (!an ...
收藏了 谢谢 顶顶多好 说的非常好 很好哦 不错不错 LZ真是人才 很不错 难得一见的好帖
页:
[1]