欢迎光临
我们一直在努力

Unity3D RPG角色扮演游戏源码(上下)-----源代码分析----05-----做了注释说明-----AnimationManagerEnemy.cs脚本

/// <summary>
/// animation manager enemy.
/// This script use to control a enemy animation此脚本用于控制敌人----野狼怪物的动画
/// </summary>

using UnityEngine;//使用UnityEngine;使用Unity引擎,就是播放器
using system.Collections;//使用系统收藏;
using System.Collections.Generic;//使用系统。收藏。通用的

public class AnimationManagerEnemy : MonoBehaviour {
    
    
    public delegate void AnimationHandle();
    public AnimationHandle animationState;
        
    
    [System.Serializable]
    public class AnimationType01
    {
        public AnimationClip animation;
        public float speedAnimation = 1.0f;//设置动画速度,正常的1倍速度
    }
    [System.Serializable]
    public class AnimationType02
    {
        public AnimationClip animation;
        public float speedAnimation = 1.0f;
        public bool s

  • 海报
海报图正在生成中...
赞(0) 打赏
声明:
1、本博客不从事任何主机及服务器租赁业务,不参与任何交易,也绝非中介。博客内容仅记录博主个人感兴趣的服务器测评结果及一些服务器相关的优惠活动,信息均摘自网络或来自服务商主动提供;所以对本博客提及的内容不作直接、间接、法定、约定的保证,博客内容也不具备任何参考价值及引导作用,访问者需自行甄别。
2、访问本博客请务必遵守有关互联网的相关法律、规定与规则;不能利用本博客所提及的内容从事任何违法、违规操作;否则造成的一切后果由访问者自行承担。
3、未成年人及不能独立承担法律责任的个人及群体请勿访问本博客。
4、一旦您访问本博客,即表示您已经知晓并接受了以上声明通告。
文章名称:《Unity3D RPG角色扮演游戏源码(上下)-----源代码分析----05-----做了注释说明-----AnimationManagerEnemy.cs脚本》
文章链接:https://www.456zj.com/37013.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址