/// <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
- 海报