IArmatureProxy.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using System.Collections.Generic;
  2. namespace DragonBones
  3. {
  4. /**
  5. * @language zh_CN
  6. * 骨架代理接口。
  7. * @version DragonBones 5.0
  8. */
  9. public interface IArmatureProxy : IEventDispatcher<EventObject>
  10. {
  11. /**
  12. * @private
  13. */
  14. void _onClear();
  15. /**
  16. * @language zh_CN
  17. * 释放代理和骨架。 (骨架会回收到对象池)
  18. * @version DragonBones 4.5
  19. */
  20. void Dispose(bool disposeProxy);
  21. /**
  22. * @language zh_CN
  23. * 获取骨架。
  24. * @readOnly
  25. * @see DragonBones.Armature
  26. * @version DragonBones 4.5
  27. */
  28. Armature armature
  29. {
  30. get;
  31. }
  32. /**
  33. * @language zh_CN
  34. * 获取动画控制器。
  35. * @readOnly
  36. * @see DragonBones.Animation
  37. * @version DragonBones 4.5
  38. */
  39. Animation animation
  40. {
  41. get;
  42. }
  43. }
  44. /**
  45. * @deprecated
  46. * @see DragonBones.IArmatureProxy
  47. */
  48. public interface IArmatureDisplay : IArmatureProxy
  49. {
  50. }
  51. }