public void PlayEmote(string emoteName) { RigAnimationName animationName = (RigAnimationName)Enum.Parse(typeof(RigAnimationName), emoteName); GameFacade.Instance.RetrieveProxy <AnimationProxy>().GetRigAnimation(animationName, delegate(AnimationClip animationClip) { AnimationSequence emoteSequence = new AnimationSequence(animationClip.name, true); emoteSequence.AddListing(new AnimationSequence.Listing(animationClip, new AnimationLoopCount(1, 1))); Emote emote = new Emote(animationName, emoteSequence); this.PlayEmote(emote); }); }