예제 #1
0
 // Start is called before the first frame update
 void Start()
 {
     PlayerScaleX  = transform.localScale.x;
     unityArmature = GetComponent <DragonBones.UnityArmatureComponent>(); //获得UnityArmatureComponent对象
     unityArmature.Play("Idel");                                          //播放动画
 }