monster数据添加
This commit is contained in:
@@ -21,7 +21,7 @@ public class Test_All : MonoBehaviour
|
||||
//初始化
|
||||
GameObject obj = Instantiate(monsterPrefab,Vector3.one*999,Quaternion.identity);
|
||||
var v = obj.GetComponent<MonsterControl>();
|
||||
v.dic_AnimKeyAnimName.Add(CharacterAnimationType.move, "stand2");
|
||||
//v.dic_AnimKeyAnimName.Add(CharacterAnimationType.move, "stand2");
|
||||
|
||||
v.monsterData.moveLine.Init(MonsterMoveLine.dic_BezierCurveDatas["曲线"+Random.Range(1,4).ToString()], 10);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user