コード例 #1
0
    internal void PlayEyeAnimation(CharacterAnimationManager.NameAnimationsList nameAnimated)
    {
        timer = 0;
        eye_anim.Play(nameAnimated.ToString());
        _isPlayingAnimation = true;

        eye_anim.animationCompleteDelegate = delegate(tk2dAnimatedSprite sprite, int clipId) {
            _isPlayingAnimation = false;
        };
    }
コード例 #2
0
 private void PlayRightHandAnimation(CharacterAnimationManager.NameAnimationsList nameAnimated)
 {
     righthand_anim.Play(nameAnimated.ToString());
 }