monster数据添加
This commit is contained in:
@@ -12,6 +12,15 @@ public class MonsterControl : MonoBehaviour
|
||||
public bool isSpine = true;
|
||||
public Dictionary<CharacterAnimationType, string> dic_AnimKeyAnimName = new Dictionary<CharacterAnimationType, string>();
|
||||
public CharacterStateType currState;
|
||||
public GameObject effect_Hurt;//遮罩闪烁
|
||||
|
||||
public GameObject effect_Die;//删除
|
||||
|
||||
|
||||
public void InitAnimList()
|
||||
{
|
||||
dic_AnimKeyAnimName.Add(CharacterAnimationType.move, "stand2");
|
||||
}
|
||||
//这里捕鱼的结构很简单可以穿模直接写移动
|
||||
void Update()
|
||||
{
|
||||
@@ -19,6 +28,7 @@ public class MonsterControl : MonoBehaviour
|
||||
}
|
||||
public void Start()
|
||||
{
|
||||
InitAnimList();
|
||||
ChangeState(CharacterStateType.move);
|
||||
}
|
||||
public virtual void OnMoveEnter()
|
||||
|
||||
Reference in New Issue
Block a user