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