摘要: --复制一个动作在做融合animation.AddClip(animation["shoot"].clip, "shootUpperBody");animation["shootUpperBody"].AddMixingTransform(transform.Find("mover/gun"));animation["shootUpperBody"].AddMixingTransform(transform.Find("mover/roothandle/spine1")); 阅读全文
posted @ 2011-07-29 15:48 softimagewht 阅读(379) 评论(0) 推荐(0)
摘要: var otherClip01 : AudioClip;var otherClip02 : AudioClip;function Start(){ var sound01:AnimationEvent = new AnimationEvent(); sound01.time = animation["attack_1"].clip.length*0.5f; sound01.functionName = "soundTemp01";//回调函数名 animation["attack_1"].clip.AddEvent(sound01); 阅读全文
posted @ 2011-07-29 09:06 softimagewht 阅读(294) 评论(0) 推荐(0)